chore/dead-code-removal #4
1 changed files with 7 additions and 5 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -27,16 +27,18 @@ jobs:
|
||||||
|
|
||||||
frontend-build:
|
frontend-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# Same reason as backend-tests: the Forgejo runner cannot use
|
||||||
|
# actions/setup-node's Node download + GitHub artifact-cache service (both
|
||||||
|
# time out against the act runner: "connect ETIMEDOUT ...:41759"), and
|
||||||
|
# actions/setup-python cannot provision 3.11 either. This container already
|
||||||
|
# ships Node 20 + npm + git, so actions/checkout works and setup-node is
|
||||||
|
# dropped entirely.
|
||||||
|
container: nikolaik/python-nodejs:python3.11-nodejs20
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: dashboard
|
working-directory: dashboard
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: "20"
|
|
||||||
cache: npm
|
|
||||||
cache-dependency-path: dashboard/package-lock.json
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Lint
|
- name: Lint
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue