fix(base): support restoring cross dataset references #7492
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Depcheck | |
on: [push, pull_request] | |
jobs: | |
depcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v2 | |
env: | |
# added -vX just to reset the cache, feel free to up it if you need | |
# to reset the cache again | |
cache-name: cache-node-modules-v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
- name: Install npm dependencies | |
env: | |
PUPPETEER_SKIP_DOWNLOAD: 'true' | |
run: npm install | |
# Required for import lint rules to work - packages pointing to ex | |
# `lib/index.js`, where `src/index.ts` gets compiled to `lib/index.js` | |
- name: Build modules | |
id: buildResolver | |
run: npx gulp js | |
- name: Check for unused or missing dependencies | |
id: depcheck | |
run: npm run depcheck |