Skip to content

.github/workflows/publish.yml #2

.github/workflows/publish.yml

.github/workflows/publish.yml #2

Workflow file for this run

on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "20"
- run: yarn ci
- run: yarn test
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}