Skip to content

Bump pre-commit from 3.7.1 to 3.8.0 #94

Bump pre-commit from 3.7.1 to 3.8.0

Bump pre-commit from 3.7.1 to 3.8.0 #94

Workflow file for this run

name: Danger CI
on:
pull_request:
branches:
- 'main'
jobs:
dangerci:
name: Danger CI
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
node-version: [ 16.x ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use NodeJS ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache directory path
id: cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: cache # use this to check for `cache-hit` (`steps.cache.outputs.cache-hit != 'true'`)
with:
path: |
**/node_modules
**/.eslintcache
${{ steps.cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-cache-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-cache-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install
- name: Danger CI Check
uses: danger/[email protected]
env:
CI: true
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
DANGER_GITHUB_API_TOKEN: ${{ secrets.GH_TOKEN }}