Skip to content

Commit

Permalink
Improve CI
Browse files Browse the repository at this point in the history
  • Loading branch information
marcbouchenoire committed Aug 25, 2021
1 parent bbc2abf commit 3f8763d
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
name: CI
on:
push:
branches: [main]
branches:
- main
pull_request:
branches: [main]
branches:
- main
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
main:
runs-on: macOS-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Checkout commit
uses: actions/checkout@v2
- name: Prepare Node.js
uses: actions/setup-node@v2
with:
node-version: "14"
cache: "yarn"
- name: Install dependencies
run: yarn
- name: Run linting
- name: Install dependencies and build
run: yarn install
- name: Lint files
run: yarn lint
- name: Run tests
run: yarn test

0 comments on commit 3f8763d

Please sign in to comment.