Skip to content

github workflow to pull from upstream once a week #1

github workflow to pull from upstream once a week

github workflow to pull from upstream once a week #1

Workflow file for this run

name: Validate
on:
push:
pull_request:
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: '14'
- name: Restore npm cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
- name: Validate
run: npm run validate