Release #44
Workflow file for this run
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: Release | |
| on: | |
| workflow_dispatch: | |
| concurrency: | |
| group: release | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| jobs: | |
| # build: | |
| # uses: ./.github/workflows/ci.yml | |
| deploy: | |
| runs-on: ubuntu-latest | |
| # needs: [build] | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: yarn | |
| - run: yarn install --immutable | |
| - run: cp ./README.md ./package/README.md | |
| - run: yarn build | |
| - run: | | |
| test -n "$GITHUB_TOKEN" && echo "Has GitHub token" || echo "Missing GitHub token" | |
| test -n "$YARN_NPM_AUTH_TOKEN" && echo "Has NPM token" || echo "Missing NPM token" | |
| yarn release -- --dry-run | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| # pages: | |
| # uses: ./.github/workflows/pages.yml | |
| # needs: [deploy] |