Skip to content

0.0.2-1

0.0.2-1 #6

Workflow file for this run

#TODO: Refactor to use npm instead of pnpm
name: publish
on:
push:
branches: ['main', 'hotfix/**']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci && npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}