Skip to content

Add compile API to LibVoreJS #4

Add compile API to LibVoreJS

Add compile API to LibVoreJS #4

Workflow file for this run

name: Npm
on:
push:
branches: [ "main" ]
paths:
- '.github/workflows/npm.yml'
- 'libvorejs/**'
pull_request:
branches: [ "main" ]
paths:
- '.github/workflows/npm.yml'
- 'libvorejs/**'
jobs:
publish-npm:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./libvorejs
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: NPM Install
run: npm ci
- name: NPM Publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}