2.0.5 #6
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
# Will not work since the version creation will impact *all* components of the mono-repo | |
name: Publish for REserve | |
on: | |
release: | |
types: [created] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./reserve | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- run: npm ci | |
- run: npm test --workspace reserve | |
publish-npm: | |
needs: build | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./reserve | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
registry-url: https://registry.npmjs.org/ | |
- run: npm ci | |
- run: npm run build --workspace reserve | |
- run: npm publish --workspace reserve | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.npm_token}} |