Skip to content

Commit

Permalink
ci: 👷 fixed Github build action
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 23, 2020
1 parent 5b6bd03 commit efd50e7
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g yarn
- name: lint, test and build
run: |
yarn lint
yarn test --coverage --coverageProvider v8
yarn build:rollup
env:
CI: true
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g yarn
- name: lint, test and build
run: |
yarn install
yarn lint
yarn test --coverage --coverageProvider v8
yarn build:rollup
env:
CI: true

0 comments on commit efd50e7

Please sign in to comment.