[release] 4.45.1 - Fix issue with new cache key and deltas (#435) #74
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: build | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
jest: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: cache .npm | |
uses: actions/cache@v2 | |
env: | |
cache-name: npm | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
- name: Install | |
run: npm install | |
- name: Lint | |
run: npm run lint | |
- name: Build | |
run: npm run build:dryrun |