|
@@ -26,14 +26,19 @@ jobs:
|
|
|
cache: 'yarn'
|
|
cache: 'yarn'
|
|
|
cache-dependency-path: '**/yarn.lock'
|
|
cache-dependency-path: '**/yarn.lock'
|
|
|
|
|
|
|
|
|
|
+ - name: Cache/Restore node_modules
|
|
|
|
|
+ id: cache-dependencies
|
|
|
|
|
+ uses: actions/cache@v2
|
|
|
|
|
+ with:
|
|
|
|
|
+ path: |
|
|
|
|
|
+ **/node_modules
|
|
|
|
|
+ key: node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
|
|
|
|
|
+ restore-keys: |
|
|
|
|
|
+ node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
|
|
+
|
|
|
- name: lerna bootstrap
|
|
- name: lerna bootstrap
|
|
|
run: |
|
|
run: |
|
|
|
- npx lerna bootstrap
|
|
|
|
|
- - name: Print dependencies
|
|
|
|
|
- run: |
|
|
|
|
|
- echo -n "node " && node -v
|
|
|
|
|
- echo -n "npm " && npm -v
|
|
|
|
|
- yarn list --depth=0
|
|
|
|
|
|
|
+ npx lerna bootstrap -- --frozen-lockfile
|
|
|
|
|
|
|
|
- name: yarn lint
|
|
- name: yarn lint
|
|
|
run: |
|
|
run: |
|
|
@@ -79,14 +84,19 @@ jobs:
|
|
|
cache: 'yarn'
|
|
cache: 'yarn'
|
|
|
cache-dependency-path: '**/yarn.lock'
|
|
cache-dependency-path: '**/yarn.lock'
|
|
|
|
|
|
|
|
|
|
+ - name: Cache/Restore node_modules
|
|
|
|
|
+ id: cache-dependencies
|
|
|
|
|
+ uses: actions/cache@v2
|
|
|
|
|
+ with:
|
|
|
|
|
+ path: |
|
|
|
|
|
+ **/node_modules
|
|
|
|
|
+ key: node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
|
|
|
|
|
+ restore-keys: |
|
|
|
|
|
+ node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
|
|
+
|
|
|
- name: lerna bootstrap
|
|
- name: lerna bootstrap
|
|
|
run: |
|
|
run: |
|
|
|
- npx lerna bootstrap
|
|
|
|
|
- - name: Print dependencies
|
|
|
|
|
- run: |
|
|
|
|
|
- echo -n "node " && node -v
|
|
|
|
|
- echo -n "npm " && npm -v
|
|
|
|
|
- yarn list --depth=0
|
|
|
|
|
|
|
+ npx lerna bootstrap -- --frozen-lockfile
|
|
|
|
|
|
|
|
- name: yarn dev:ci
|
|
- name: yarn dev:ci
|
|
|
working-directory: ./packages/slackbot-proxy
|
|
working-directory: ./packages/slackbot-proxy
|