Skip to content

Commit 7f8be9b

Browse files
authored
Merge pull request #2 from khawkins/gh_actions
Switching from CircleCI to GitHub Actions
2 parents 55655b1 + 07bfc52 commit 7f8be9b

File tree

2 files changed

+32
-39
lines changed

2 files changed

+32
-39
lines changed

.circleci/config.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/run-tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: run-tests
2+
run-name: Installs project and runs tests
3+
on: [ push, pull_request ]
4+
jobs:
5+
run-tests-nix:
6+
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
node: [ 14, 16 ]
10+
name: Run tests on Ubuntu with Node ${{ matrix.node }}
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: ${{ matrix.node }}
16+
cache: 'yarn'
17+
- run: yarn install
18+
- run: yarn test
19+
run-tests-win:
20+
runs-on: windows-latest
21+
strategy:
22+
matrix:
23+
node: [ 14, 16 ]
24+
name: Run tests on Windows with Node ${{ matrix.node }}
25+
steps:
26+
- uses: actions/checkout@v3
27+
- uses: actions/setup-node@v3
28+
with:
29+
node-version: ${{ matrix.node }}
30+
cache: 'yarn'
31+
- run: yarn install
32+
- run: yarn test

0 commit comments

Comments
 (0)