Skip to content

Commit

Permalink
ci: another test
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Sep 4, 2021
1 parent 7c32ffd commit cf5bba3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/app-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,14 @@ on:

jobs:
build:
name: Build and lint app on Node ${{ matrix.node }} and ${{ matrix.os }}
name: Build and lint app on Node 15 and ${{ matrix.os }}
defaults:
run:
working-directory: ./app

runs-on: ${{ matrix.os }}
strategy:
matrix:
node:
- '14.x'
- '15.x'
- '16.x'
os:
- ubuntu-latest
- windows-latest
Expand All @@ -32,10 +28,10 @@ jobs:
ref: ${{ github.head_ref }}
fetch-depth: 0

- name: Use Node ${{ matrix.node }}
- name: Use Node 15
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
node-version: '15'

- name: Get yarn cache directory path
id: yarn-cache-dir-path
Expand All @@ -50,6 +46,9 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Test path
run: ls

- name: Lint
run: yarn lint

Expand Down
2 changes: 1 addition & 1 deletion app/src/server/routes/404.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ const router = Router();

router.use(json());

router.use((_req, res) => res.send([false, `${_req.path} does not exist`, 404]));
router.use((req, res) => res.send([false, `${req.path} does not exist`, 404]));

export default router;

0 comments on commit cf5bba3

Please sign in to comment.