Skip to content

Merge pull request #199 from kodadot/chore/up-minimark #5

Merge pull request #199 from kodadot/chore/up-minimark

Merge pull request #199 from kodadot/chore/up-minimark #5

name: Publish minimark package to npmjs
on:
push:
branches:
- main
- master
paths:
- 'minimark/**'
defaults:
run:
working-directory: minimark
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}