Skip to content

[main] Working dir hotfix #7

[main] Working dir hotfix

[main] Working dir hotfix #7

Workflow file for this run

name: Publish package to NPM
on:
push:
branches: [main]
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Node.JS setup
uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
- name: Test dependencies
working-directory: ./pkg
run: npm ci
- name: Publish to registry
working-directory: ./pkg
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}