Skip to content

Commit 2a97917

Browse files
committed
fix: npm
1 parent 2c027f1 commit 2a97917

File tree

5 files changed

+11202
-1
lines changed

5 files changed

+11202
-1
lines changed

.github/workflows/main.yml renamed to .github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
node-version: '20'
3737
cache: 'npm'
3838

39+
- name: Install dependencies
40+
run: npm ci --prefer-offline --no-audit --progress=false
41+
3942
- name: Build project
4043
run: make website
4144

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
out/
2+
node_modules/
23
super-linter.log

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ install:
1212
if [ "$$INSTALLED_VERSION" != "$(SPEC_GENERATOR_VER)" ]; then \
1313
echo "Installed version ($$INSTALLED_VERSION) is different from the desired version ($(SPEC_GENERATOR_VER))."; \
1414
echo "Installing spec-generator@v$(SPEC_GENERATOR_VER)"; \
15-
npm install -g spec-generator@v$(SPEC_GENERATOR_VER); \
15+
npm install --save-dev spec-generator@v$(SPEC_GENERATOR_VER); \
1616
else \
1717
echo "spec-generator is already installed at the desired version ($(SPEC_GENERATOR_VER))."; \
1818
fi

0 commit comments

Comments
 (0)