-
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
5e05f62
commit 93bcc8b
Showing
1 changed file
with
28 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,28 @@ | ||
name: test | ||
|
||
on: | ||
push: | ||
branches: ["*"] | ||
|
||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
- name: Use Node version defined in manifest | ||
uses: volta-cli/action@v4 | ||
- name: Node.js version | ||
run: node -v | ||
- name: npm version | ||
run: npm -v | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Check for build errors | ||
run: npm run build | ||
- name: Run test suite | ||
run: npm test |