Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Danil Bubnov committed Jan 29, 2024
1 parent adcfeff commit 4b6869a
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
run-name: build
on:
push:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
name: Build
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 16, 20 ]
name: Node ${{ matrix.node }}
os: [ linux, macos, windows ]
name: Build ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
node-version: 18.5.0
- run: npm install
- run: npm run eslint
- run: npm run prettier-check
- run: npm run test -- --failTaskOnError --suppressPassed
- run: npm install -g pkg
- run: pkg . --targets latest-${{ matrix.os }}-x64
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: gltf-pipeline-${{ matrix.os }}
path: gltf-pipeline*

0 comments on commit 4b6869a

Please sign in to comment.