Skip to content

Commit

Permalink
feat(*): yarn 2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Heymdall committed Sep 15, 2020
1 parent 329ae23 commit 73bef4f
Show file tree
Hide file tree
Showing 1,648 changed files with 51,111 additions and 12,652 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,18 @@ jobs:

strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
node-version: [10.x, 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 }}
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn install and test
- name: yarn install and test
run: |
yarn install --frozen-lockfile
yarn workspace arui-scripts run build
yarn workspace arui-scripts-test run ci
yarn workspace arui-scripts run test
env:
CI: true
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@
node_modules
package-lock.json
*.log
.yarn/*
!.yarn/cache
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
Loading

0 comments on commit 73bef4f

Please sign in to comment.