Skip to content

- update readme

- update readme #168

Workflow file for this run

name: Cicd
on:
push:
branches: ['master']
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
run: |
git submodule update --init --recursive
git submodule update --remote --merge
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Build
run: |
yarn
yarn build
- name: E2E tests
run: |
yarn hardhat node > /dev/null &
sleep 5
yarn testE2e
- name: Artifacts
uses: actions/upload-artifact@v3
with:
name: result
path: |
lib
package.json
- name: prepare publish
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
- name: remove .gitignore for publish
run: rm .gitignore
- name: publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}