Skip to content

v4.6.0

v4.6.0 #14

Workflow file for this run

name: publish
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm i
- run: npm test
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/
- run: |
mv ./package.json ./src/package.json
mv ./README.md ./src/README.md
mv ./LICENSE ./src/LICENSE
npm publish ./src
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}