remove npm version from workflow_dispatch #27
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 | |
env: | |
EM_VERSION: 1.39.14 | |
EM_CACHE_FOLDER: "emsdk-cache" | |
jobs: | |
build-jq: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup cache | |
id: cache-system-libraries | |
uses: actions/cache@v2 | |
with: | |
path: ${{env.EM_CACHE_FOLDER}} | |
key: ${{env.EM_VERSION}}-${{ runner.os }} | |
- uses: mymindstorm/setup-emsdk@v11 | |
with: | |
version: ${{env.EM_VERSION}} | |
- name: Verify | |
run: emcc -v | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Build jq-web | |
run: | | |
make | |
npm install | |
- name: Test | |
run: | | |
node test.js |