Skip to content

Commit

Permalink
Configure GitHub Actions (ovidiuch#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovidiuch authored May 28, 2020
1 parent 62d4227 commit a2545ce
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- run: curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && apt-get install -y git-lfs
- checkout
- run: yarn --frozen-lockfile
- run: yarn flow
- run: yarn flow check
- run: yarn lint
- run: yarn test --maxWorkers=2
- run:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Flatris rulez
on: [push]

jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04]
node: [10, 12, 14]
steps:
- uses: actions/checkout@v2
with:
lfs: true
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: yarn --frozen-lockfile
- run: yarn flow check
- run: yarn lint
- run: yarn test --maxWorkers=2
- run: yarn test:visual:check
- uses: actions/upload-artifact@v1
with:
name: snapshots
path: web/__image_snapshots__

0 comments on commit a2545ce

Please sign in to comment.