Skip to content

Commit

Permalink
Remove explicit installation of yarn on CI - as it is available by de…
Browse files Browse the repository at this point in the history
…fault when using actions/setup-node
  • Loading branch information
Andarist committed Oct 23, 2019
1 parent 0faebf7 commit 7aaa5b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,24 @@ jobs:

steps:
- uses: actions/checkout@v1

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node: ${{ matrix.node }}
- name: Install Yarn
run: npm install --global yarn

- name: Install dependencies
run: yarn install
run: yarn

- name: Lint
run: yarn lint

- name: Build
run: yarn build

- name: Test
run: yarn test

- name: Bundlesize
run: yarn bundlesize
env:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:
with:
node-version: 10.x

- name: Install Yarn
run: npm install --global yarn

- name: Install Dependencies
run: yarn

Expand Down

0 comments on commit 7aaa5b3

Please sign in to comment.