ALL-6929 Add zkSync currency #356
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- v1 | |
jobs: | |
build: | |
name: ποΈ Install and build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- run: yarn install | |
- run: yarn build | |
- run: yarn lint | |
docs: | |
name: π Generate and deploy docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- run: yarn install | |
- run: yarn build | |
- run: yarn lint | |
- run: yarn docs --gaID ${{ secrets.GA_ID }} | |
- name: Deploy π | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: docs # The folder the action should deploy. | |
publish: | |
name: π¦ Publish package | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
registry-url: 'https://registry.npmjs.org' | |
- run: yarn install | |
- run: yarn build | |
- run: yarn lint | |
- run: yarn publish --access public --tag 1.x.x | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |