forked from guillaumervls/react-infinite-scroll
-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Test | ||
|
||
on: | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Cache node modules | ||
id: cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: node_modules | ||
key: cache-node-modules-${{ hashFiles('package-lock.json') }} | ||
- name: npm install | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: npm ci | ||
- run: npm run lint | ||
- run: npm run test | ||
- run: npm run build |
This file was deleted.
Oops, something went wrong.