Skip to content

v2.1.0

v2.1.0 #11

Workflow file for this run

name: Deploy
on:
workflow_dispatch: {}
release:
types: [published]
jobs:
publish-npm:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version: 20
scope: '@oyen-oss'
registry-url: 'https://npm.pkg.github.com/'
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: make test
- run: make dist
- run: pnpm publish --access=public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}