|
@@ -14,16 +14,6 @@ jobs:
|
|
|
uses: actions/setup-node@v1
|
|
|
with:
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
- - name: Config yarn cache
|
|
|
- id: yarn-cache-dir-path
|
|
|
- run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
|
- - uses: actions/cache@v1
|
|
|
- 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: lint
|
|
|
run: |
|
|
|
yarn install --immutable | grep -v 'YN0013'
|
|
@@ -41,16 +31,6 @@ jobs:
|
|
|
uses: actions/setup-node@v1
|
|
|
with:
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
- - name: Config yarn cache
|
|
|
- id: yarn-cache-dir-path
|
|
|
- run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
|
- - uses: actions/cache@v1
|
|
|
- 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: test
|
|
|
run: |
|
|
|
yarn install --immutable | grep -v 'YN0013'
|
|
@@ -68,16 +48,6 @@ jobs:
|
|
|
uses: actions/setup-node@v1
|
|
|
with:
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
- - name: Config yarn cache
|
|
|
- id: yarn-cache-dir-path
|
|
|
- run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
|
- - uses: actions/cache@v1
|
|
|
- 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: build
|
|
|
run: |
|
|
|
yarn install --immutable | grep -v 'YN0013'
|
|
@@ -95,16 +65,6 @@ jobs:
|
|
|
uses: actions/setup-node@v1
|
|
|
with:
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
- - name: Config yarn cache
|
|
|
- id: yarn-cache-dir-path
|
|
|
- run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
|
- - uses: actions/cache@v1
|
|
|
- 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: build
|
|
|
run: |
|
|
|
yarn install --immutable | grep -v 'YN0013'
|