|
|
@@ -14,7 +14,7 @@ on:
|
|
|
- minor
|
|
|
env:
|
|
|
CI: true
|
|
|
- node: 18.x
|
|
|
+ node: 20.x
|
|
|
jobs:
|
|
|
build:
|
|
|
name: build
|
|
|
@@ -25,15 +25,7 @@ jobs:
|
|
|
uses: actions/setup-node@v3
|
|
|
with:
|
|
|
node-version: ${{ env.node }}
|
|
|
-# - uses: actions/cache@v3
|
|
|
-# id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
|
|
|
-# with:
|
|
|
-# path: '**/node_modules'
|
|
|
-# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
|
-# restore-keys: |
|
|
|
-# ${{ runner.os }}-yarn-
|
|
|
- name: Yarn install
|
|
|
-# if: steps.yarn-cache.outputs.cache-hit != 'true'
|
|
|
run: yarn install
|
|
|
- name: Build
|
|
|
run: yarn build
|
|
|
@@ -46,15 +38,7 @@ jobs:
|
|
|
uses: actions/setup-node@v3
|
|
|
with:
|
|
|
node-version: ${{ env.node }}
|
|
|
-# - uses: actions/cache@v3
|
|
|
-# id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
|
|
|
-# with:
|
|
|
-# path: '**/node_modules'
|
|
|
-# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
|
-# restore-keys: |
|
|
|
-# ${{ runner.os }}-yarn-
|
|
|
- name: Yarn install
|
|
|
-# if: steps.yarn-cache.outputs.cache-hit != 'true'
|
|
|
run: yarn install --prefer-offline
|
|
|
- name: Build
|
|
|
run: yarn lerna run ci
|
|
|
@@ -113,15 +97,7 @@ jobs:
|
|
|
uses: actions/setup-node@v3
|
|
|
with:
|
|
|
node-version: ${{ env.node }}
|
|
|
-# - uses: actions/cache@v3
|
|
|
-# id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
|
|
|
-# with:
|
|
|
-# path: '**/node_modules'
|
|
|
-# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
|
-# restore-keys: |
|
|
|
-# ${{ runner.os }}-yarn-
|
|
|
- name: Yarn install
|
|
|
-# if: steps.yarn-cache.outputs.cache-hit != 'true'
|
|
|
run: yarn install --prefer-offline
|
|
|
- name: Build
|
|
|
run: yarn lerna run ci
|