Try github actions again #1993
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 | |
on: [push, pull_request] | |
jobs: | |
Ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Build Main Program | |
run: npm install && npm run build | |
- name: Test Automation Program | |
working-directory: ./packages/test | |
run: npm install && npm run build:actions && npm start | |
- name: Test Compilation Error Cases | |
working-directory: ./packages/errors | |
run: npm install && npm start | |
- name: Check Benchmark Program | |
working-directory: ./packages/benchmark | |
run: npm install && npm run build | |