mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Fixed working directory
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -8,15 +8,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repository
|
- name: Checkout the repository
|
||||||
working-directory: ./client
|
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
working-directory: ./client
|
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
|
|
||||||
- name: Retrieve the cached "node_modules" directory (if present)
|
- name: Retrieve the cached "node_modules" directory (if present)
|
||||||
working-directory: ./client
|
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
id: node-cache
|
id: node-cache
|
||||||
with:
|
with:
|
||||||
@@ -24,10 +21,10 @@ jobs:
|
|||||||
key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
|
key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
|
||||||
|
|
||||||
- name: Install dependencies (if the cached directory was not found)
|
- name: Install dependencies (if the cached directory was not found)
|
||||||
working-directory: ./client
|
|
||||||
if: steps.node-cache.outputs.cache-hit != 'true'
|
if: steps.node-cache.outputs.cache-hit != 'true'
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
working-directory: ./client
|
||||||
|
|
||||||
- name: Create the docs directory locally in CI
|
- name: Create the docs directory locally in CI
|
||||||
working-directory: ./client
|
|
||||||
run: npx typedoc --out ../docs src/index.ts src/contextmenus/*.ts src/controls/*.ts src/map/*.ts src/mission/*.ts src/other/*.ts src/panels/*.ts src/popups/*.ts src/server/*.ts src/unit/*.ts src/weapon/*.ts
|
run: npx typedoc --out ../docs src/index.ts src/contextmenus/*.ts src/controls/*.ts src/map/*.ts src/mission/*.ts src/other/*.ts src/panels/*.ts src/popups/*.ts src/server/*.ts src/unit/*.ts src/weapon/*.ts
|
||||||
|
working-directory: ./client
|
||||||
Reference in New Issue
Block a user