Skip to content

Merge pull request #55 from zCloak-Network/shanghai-event #79

Merge pull request #55 from zCloak-Network/shanghai-event

Merge pull request #55 from zCloak-Network/shanghai-event #79

Workflow file for this run

name: CI
on:
push:
branches:
- master
jobs:
ci:
if: "! startsWith(github.event.head_commit.message, 'chore: release')"
runs-on: ubuntu-latest
env:
YARN_ENABLE_SCRIPTS: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "16"
cache: "yarn"
- name: Install deps
run: |
yarn install --immutable | grep -v 'YN0013'
- name: Lint
run: |
yarn lint
- name: Test
run: |
yarn test
- name: Build
run: |
yarn build