Skip to content

Commit

Permalink
Add GH workflow to test project
Browse files Browse the repository at this point in the history
  • Loading branch information
HeavenVolkoff committed Jul 31, 2024
1 parent 9fd376a commit 49d1c97
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
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

0 comments on commit 49d1c97

Please sign in to comment.