Merge pull request #1798 from nervosnetwork/dependabot/npm_and_yarn/h… #2062
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: Unit Test | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18.13.0 | |
- name: Install dependence | |
run: yarn install --ignore-platform | |
- name: Run a multi-line script | |
run: | | |
yarn build | |
yarn test |