Skip to content

2.0.4

2.0.4 #5

Workflow file for this run

# 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}}