feat: list files backed up #309
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: example-lint-check | |
on: | |
pull_request: | |
branches: | |
- 'master' | |
defaults: | |
run: | |
working-directory: example | |
jobs: | |
eslint: | |
name: Run lint check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
- name: Cache node modules | |
uses: actions/cache@v3 | |
id: npmcache | |
with: | |
path: example/node_modules | |
key: node-modules-${{ hashFiles('**/yarn.lock') }} | |
- name: Install example dependencies | |
if: steps.npmcache.outputs.cache-hit != 'true' | |
run: yarn install | |
- name: Lint check | |
run: yarn lint:check |