Create publish info file #26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create publish info file | |
on: | |
release: | |
types: [created] | |
workflow_dispatch: | |
push: | |
branches: | |
- prepare-release | |
permissions: | |
contents: read | |
jobs: | |
generate-publish-info: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- run: | | |
yarn install --frozen-lockfile | |
yarn build | |
- name: Run integrity check script | |
run: | | |
yarn generate-publish-info | |
- name: Upload YAML artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: publish-info | |
path: ./publish-info | |
- name: Show YAML output | |
run: cat ./publish-info/*.yml |