Skip to content

fix: exclude common values in context #24

fix: exclude common values in context

fix: exclude common values in context #24

Workflow file for this run

name: Test, Build, Publish
on:
push:
tags:
- "*"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
- run: cd ./package && npm ci
- run: cd ./package && npm test
publish-npm:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: cp ./README.md ./package/README.md
- run: cd ./package && npm ci
- run: cd ./package && npm run build
- run: cd ./package && npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}