mirror of
https://github.com/boostorg/website-v2-docs.git
synced 2026-01-19 04:42:17 +00:00
Run "npm ci"
This commit is contained in:
6
.github/actions/antora_publish/action.yml
vendored
6
.github/actions/antora_publish/action.yml
vendored
@@ -42,13 +42,9 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
if test -f "package.json"; then
|
||||
npm install
|
||||
npm ci
|
||||
fi
|
||||
|
||||
- name: Install Antora
|
||||
shell: bash
|
||||
run: npm i antora
|
||||
|
||||
- name: Install Antora Extensions
|
||||
if: inputs.extensions != ''
|
||||
shell: bash
|
||||
|
||||
2
.github/workflows/ui-release.yml
vendored
2
.github/workflows/ui-release.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
||||
- name: Build
|
||||
working-directory: antora-ui
|
||||
run: |
|
||||
npm install
|
||||
npm ci
|
||||
gulp bundle
|
||||
|
||||
- name: Bundle
|
||||
|
||||
@@ -44,7 +44,7 @@ After cloning the project, you need to https://docs.antora.org/antora/latest/ins
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
$ npm install
|
||||
$ npm ci
|
||||
----
|
||||
|
||||
Verify the antora command is now available by running:
|
||||
|
||||
@@ -15,7 +15,7 @@ if [ -z "$gulp_version" ]; then
|
||||
fi
|
||||
|
||||
if [ ! -d "node_modules" ] || [ "$(find package.json -prune -printf '%T@\n' | cut -d . -f 1)" -gt "$(find node_modules -prune -printf '%T@\n' | cut -d . -f 1)" ]; then
|
||||
npm install
|
||||
npm ci
|
||||
fi
|
||||
|
||||
gulp bundle
|
||||
|
||||
@@ -63,7 +63,7 @@ else
|
||||
fi
|
||||
|
||||
if [ ! -d "node_modules" ] || [ "$(find package.json -prune -printf '%T@\n' | cut -d . -f 1)" -gt "$(find node_modules -prune -printf '%T@\n' | cut -d . -f 1)" ]; then
|
||||
npm install
|
||||
npm ci
|
||||
fi
|
||||
|
||||
# Run antora command
|
||||
|
||||
19
package-lock.json
generated
19
package-lock.json
generated
@@ -11,7 +11,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antora/cli": "3.1.2",
|
||||
"@antora/site-generator": "3.1.2"
|
||||
"@antora/site-generator": "3.1.2",
|
||||
"antora": "3.1.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@antora/asciidoc-loader": {
|
||||
@@ -331,6 +332,22 @@
|
||||
"node": ">=6.5"
|
||||
}
|
||||
},
|
||||
"node_modules/antora": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/antora/-/antora-3.1.2.tgz",
|
||||
"integrity": "sha512-v+78jtE1XZ44dm8rYIyWvFzteBw/QEKyD0QJQMk2I7I3F3QPK2cruPXoVVfwq+vfzL9oqv2dqjrf2cTpHjsIpQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@antora/cli": "3.1.2",
|
||||
"@antora/site-generator": "3.1.2"
|
||||
},
|
||||
"bin": {
|
||||
"antora": "bin/antora"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/append-buffer": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/append-buffer/-/append-buffer-1.0.2.tgz",
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"devDependencies": {
|
||||
"@antora/cli": "3.1.2",
|
||||
"@antora/site-generator": "3.1.2"
|
||||
"@antora/site-generator": "3.1.2",
|
||||
"antora": "3.1.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antora/lunr-extension": "^1.0.0-alpha.8",
|
||||
|
||||
@@ -58,7 +58,7 @@ else
|
||||
fi
|
||||
|
||||
if [ ! -d "node_modules" ] || [ "$(find package.json -prune -printf '%T@\n' | cut -d . -f 1)" -gt "$(find node_modules -prune -printf '%T@\n' | cut -d . -f 1)" ]; then
|
||||
npm install
|
||||
npm ci
|
||||
fi
|
||||
|
||||
# TODO: Find a better way of setting these
|
||||
|
||||
Reference in New Issue
Block a user