Skip to content

Commit 022da8a

Browse files
authored
Merge pull request #24 from EvanBacon/add-continuous-testing
feat: add GitHub Actions CI/CD workflows for continuous testing
2 parents 988528c + 2348ba8 commit 022da8a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test:
11+
runs-on: macos-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Use Node.js LTS
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 'lts/*'
21+
cache: 'yarn'
22+
23+
- name: Install dependencies
24+
run: yarn install --frozen-lockfile
25+
26+
- name: Run tests
27+
run: yarn test
28+
29+
- name: Build project
30+
run: yarn build

0 commit comments

Comments
 (0)