Compare commits
3 commits
f5b3d6940c
...
d342c2c5ef
Author | SHA1 | Date | |
---|---|---|---|
|
d342c2c5ef | ||
|
0ae928675d | ||
|
e95970bbaa |
|
@ -1,3 +1,4 @@
|
||||||
|
# .forgejo/workflows/lint-and-validate.yml
|
||||||
name: Lint and Validate
|
name: Lint and Validate
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
@ -10,17 +11,11 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-and-validate:
|
lint-and-validate:
|
||||||
runs-on: docker
|
runs-on: docker # Ensures the job runs in a Docker-based environment
|
||||||
container:
|
container:
|
||||||
image: debian:bullseye
|
image: debian:bullseye # Use a lightweight and stable Debian base image
|
||||||
|
|
||||||
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