Skip to content

Fix npm publish

Fix npm publish #17

Workflow file for this run

name: Test NPM package
on:
push:
branches:
- master
paths:
- 'emanifest-js/**'
pull_request:
paths:
- 'emanifest-js/**'
defaults:
run:
working-directory: emanifest-js
jobs:
release:
name: Test NPM package
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20.x"
cache: "npm"
cache-dependency-path: emanifest-js/package-lock.json
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm run test