Skip to content

VM:1.0.2

VM:1.0.2 #14

Workflow file for this run

name: deploy
on:
release:
types: [released]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Setup pnpm
# You may pin to the exact commit or the version.
# uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
uses: pnpm/[email protected]
with:
run_install: true
- run: pnpm run test
deploy:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Setup pnpm
# You may pin to the exact commit or the version.
# uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
uses: pnpm/[email protected]
with:
run_install: true
- run: pnpm publish-packages --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}