Bump @skyscanner/eslint-config-skyscanner from 15.2.0 to 16.0.0 #9
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: PR | |
on: | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash -l {0} | |
env: | |
CACHE_NAME: node-modules-cache | |
jobs: | |
Create-NPM-Cache: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Upload to Cache | |
uses: actions/[email protected] | |
id: npm-cache | |
with: | |
path: | | |
node_modules/ | |
key: ${{ env.CACHE_NAME }}-${{ hashFiles('package-lock.json') }} | |
- name: Install dependencies | |
if: ${{ steps.npm-cache.outputs.cache-hit != 'true' }} | |
run: npm ci | |
Run-Tests: | |
permissions: | |
statuses: write | |
pull-requests: write | |
needs: [Create-NPM-Cache] | |
uses: ./.github/workflows/_test.yml |