Skip to content

Commit

Permalink
ci: Add GitHub Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpoulter committed Mar 24, 2024
1 parent 10fcf3a commit 9737d26
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
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

0 comments on commit 9737d26

Please sign in to comment.