-
Notifications
You must be signed in to change notification settings - Fork 27
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
10fcf3a
commit 9737d26
Showing
1 changed file
with
35 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,35 @@ | ||
--- | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: ['16'] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js v${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Enable Corepack | ||
run: corepack enable | ||
- name: Install dependencies | ||
run: yarn install --immutable | ||
- name: Build | ||
run: yarn run build | ||
- name: Run Tests | ||
run: | | ||
yarn run test | ||
yarn run test:invalid | ||
yarn run test:nested | ||
yarn run test:reporter | ||
timeout-minutes: 10 |