Skip to content

Commit

Permalink
chore: fix CI. maybe.
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Aug 4, 2021
1 parent 1195510 commit 050522d
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,18 @@ jobs:
node-version: [12.x, 14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: yarn install
run: yarn --frozen-lockfile
- name: test
run: yarn test
- name: coverage test
run: yarn jest --coverage
- uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: yarn install
run: yarn --frozen-lockfile
- name: test
run: yarn test
- name: coverage test
run: yarn jest --coverage
- uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 050522d

Please sign in to comment.