Bump probot from 8.0.2 to 12.3.3 #4
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: Node CI | |
on: | |
pull_request: | |
push: | |
branches: # array of glob patterns matching against refs/heads. Optional; defaults to all | |
- master # triggers on pushes that contain changes in master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Cache node_modules | |
id: cache | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: npm install | |
- name: Test | |
run: npx jest |