Skip to content

ENG-1981 fix tests

ENG-1981 fix tests #20

name: ORIGYN Mintjs Publish
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm i
- run: npm run test && npm run lint
publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org
- run: npm i
- run: npm run build
- run: npm publish
env:
ORIGYN_NPM_TOKEN: ${{ secrets.ORIGYN_NPM_TOKEN }}