-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (43 loc) · 981 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Test
on:
push:
paths-ignore:
- '**/README.md'
- '**/LICENSE.md'
- '**/.*'
- docs/**
branches:
- main
pull_request:
paths-ignore:
- '**/README.md'
- '**/LICENSE.md'
- '**/.*'
- docs/**
# Cancel previous runs of the same workflow on the same branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test archive-wasm
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
install: true
platforms: linux/amd64
driver-opts: |
image=moby/buildkit:master
network=host
- name: Build and test archive-wasm
run: |
set -euxo pipefail
npm i
npm run buildtest