Skip to content

Merge pull request #208 from kodadot/chore/polkadot/v11 #12

Merge pull request #208 from kodadot/chore/polkadot/v11

Merge pull request #208 from kodadot/chore/polkadot/v11 #12

name: Publish sub-api package to npmjs
on:
push:
branches:
- main
- master
paths:
- 'sub-api/**'
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 }}