-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9fd376a
commit 49d1c97
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |