Skip to content

v1.0.4

v1.0.4 #3

Workflow file for this run

name: publish
on:
release:
types:
- published
jobs:
tests:
uses: ./.github/workflows/tests.yml

Check failure on line 9 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

error parsing called workflow ".github/workflows/publish.yml" -> "./.github/workflows/tests.yml" (source tag with sha:b5c97747d1b700a79f8f3033332b79051eaffd0f) : workflow is not reusable as it is missing a `on.workflow_call` trigger
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: |
npm install
- name: build
run: npm run build
- name: publish
env:
NPM_TOKEN: ${{ secrets.WORKFLOW_AUTO_PUBLISH }}
run: npm publish