Skip to content

🔧 chore: adjust dependencies and type config #5

🔧 chore: adjust dependencies and type config

🔧 chore: adjust dependencies and type config #5

Workflow file for this run

name: Node.js Package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set node v20
uses: actions/setup-node@v4
with:
node-version: 20
- name: install dep
uses: borales/actions-yarn@v4
with:
cmd: install
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}