Skip to content

Merge pull request #4 from lacchain/feature/ethers-6 #16

Merge pull request #4 from lacchain/feature/ethers-6

Merge pull request #4 from lacchain/feature/ethers-6 #16

Workflow file for this run

name: Publish NPM
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 14.x ]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
scope: '@lacchain'
- run: npm ci
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}