fix fs async test #57
Workflow file for this run
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: Build trzsz.js and run test | |
on: | |
push: | |
paths-ignore: | |
- 'README.md' | |
- 'examples/**' | |
jobs: | |
build: | |
name: Build trzsz.js | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout trzsz.js | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install Node.js Dependencies | |
run: npm install | |
- name: Run build | |
run: npm run build | |
test: | |
name: Test trzsz.js | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout trzsz.js | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install Node.js Dependencies | |
run: npm install | |
- name: Run test | |
run: npm test |