Skip to content

Commit a2545ce

Browse files
authored
Configure GitHub Actions (ovidiuch#98)
1 parent 62d4227 commit a2545ce

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- run: curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && apt-get install -y git-lfs
99
- checkout
1010
- run: yarn --frozen-lockfile
11-
- run: yarn flow
11+
- run: yarn flow check
1212
- run: yarn lint
1313
- run: yarn test --maxWorkers=2
1414
- run:

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Flatris rulez
2+
on: [push]
3+
4+
jobs:
5+
test:
6+
name: Test
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-18.04]
11+
node: [10, 12, 14]
12+
steps:
13+
- uses: actions/checkout@v2
14+
with:
15+
lfs: true
16+
- uses: actions/setup-node@v1
17+
with:
18+
node-version: ${{ matrix.node }}
19+
- run: yarn --frozen-lockfile
20+
- run: yarn flow check
21+
- run: yarn lint
22+
- run: yarn test --maxWorkers=2
23+
- run: yarn test:visual:check
24+
- uses: actions/upload-artifact@v1
25+
with:
26+
name: snapshots
27+
path: web/__image_snapshots__

0 commit comments

Comments
 (0)