Skip to content

use gh pkg registry

use gh pkg registry #3

Workflow file for this run

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: |
export NODE_OPTIONS='--no-experimental-fetch'
make
npm install
- name: Test
run: |
node test.js