Skip to content

πŸ› fix(syntax): fix error in index.ts #4

πŸ› fix(syntax): fix error in index.ts

πŸ› fix(syntax): fix error in index.ts #4

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}}