Skip to content

feat: update

feat: update #141

name: Publish babel-plugin-canyon
on:
push:
branches: [ "*" ]
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: pnpm install
- run: pnpm --filter=babel-plugin-canyon publish -f --no-git-checks --access=public --filter
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
- run: |
pnpm dist-tag add [email protected] latest
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}