Compare commits
3 commits
d342c2c5ef
...
f5b3d6940c
Author | SHA1 | Date | |
---|---|---|---|
|
f5b3d6940c | ||
|
6d1b261f96 | ||
|
20dd94efac |
|
@ -1,4 +1,3 @@
|
||||||
# .forgejo/workflows/lint-and-validate.yml
|
|
||||||
name: Lint and Validate
|
name: Lint and Validate
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
@ -11,11 +10,17 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-and-validate:
|
lint-and-validate:
|
||||||
runs-on: docker # Ensures the job runs in a Docker-based environment
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: debian:bullseye # Use a lightweight and stable Debian base image
|
image: debian:bullseye
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Node.js
|
||||||
|
run: |
|
||||||
|
apt-get update && apt-get install -y curl
|
||||||
|
curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
|
||||||
|
apt-get install -y nodejs
|
||||||
|
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue