3.7.2-rc.7 #17
Workflow file for this run
This file contains 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: Prerelease | |
on: | |
release: | |
types: [prereleased] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v27 | |
with: | |
github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- run: nix develop --command npm ci | |
- run: nix develop --command npm run build | |
- run: nix develop --command npm run bundle | |
- run: ls -lhR dist | |
- run: cp .github/.npmrc . | |
- run: nix develop --ignore-environment --keep NODE_AUTH_TOKEN --command npm publish --tag next | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |