Skip to content

Commit

Permalink
build(ci): Fix workflow working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacura committed Feb 5, 2024
1 parent a47d81d commit 00c945f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build+test_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
strategy:
matrix:
node-version: [18.x, 20.x]

defaults:
run:
working-directory: ./projects/hslayers-server/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Change working directory
run: cd ./projects/hslayers-server/
- name: Install dependencies
run: npm ci --force
- name: Test
Expand Down
2 changes: 2 additions & 0 deletions projects/hslayers-server/src/proxy.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//Random change in file to test the workflow is triggered

import 'dotenv/config';
import cors_anywhere from 'cors-anywhere';
import { encode as encodeQuerystring, parse as parseQuerystring } from 'node:querystring';
Expand Down

0 comments on commit 00c945f

Please sign in to comment.