test.yml (729B)
1 --- 2 3 name: Test and publish 4 5 on: 6 push: 7 branches-ignore: 8 - main 9 10 jobs: 11 build: 12 13 runs-on: ubuntu-latest 14 15 strategy: 16 matrix: 17 node-version: [22.x] 18 19 steps: 20 - uses: actions/checkout@v3 21 - name: Use Node.js ${{ matrix.node-version }} 22 uses: actions/setup-node@v3 23 with: 24 node-version: ${{ matrix.node-version }} 25 - name: Install @finwo/dep 26 uses: finwo/dep@edge 27 - name: Set up Clang 28 run: | 29 sudo apt update 30 sudo apt install -yq clang llvm lld 31 - name: build wasm component 32 run: | 33 dep i 34 make 35 - name: npm install and npm test 36 run: | 37 npm install 38 npm test