Skip to content

Commit

Permalink
[ci] Fix github actions build syntax #127
Browse files Browse the repository at this point in the history
Closes #127
  • Loading branch information
totallynotvaishnav committed Jun 11, 2022
1 parent 092ad37 commit 3a1a566
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,33 +43,33 @@ jobs:
- name: QA checks
run: ./run-qa-checks

build:
name: Tests and Coverage
runs-on: ubuntu-20.04
build:
name: Tests and Coverage
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
steps:
- uses: actions/checkout@v2

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Cache yarn
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- name: Cache yarn
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-

- name: Installing dependencies
run: |
yarn install
- name: Installing dependencies
run: |
yarn install
- name: Tests
run: yarn coverage
- name: Tests
run: yarn coverage

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Empty file modified run-qa-checks
100644 → 100755
Empty file.

0 comments on commit 3a1a566

Please sign in to comment.