mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18:39 +00:00
chore(deps): update webpack, webpack-cli, webpack-dev-server (#3191)
* chore(deps): update webpack, webpack-cli, webpack-dev-server Fixes #3189 * injectClient -> client * Switch WebpackDevServer constructor order * Switch from listen to start * Fix missing argument to catch * chore: dedupe lockfile * chore: update to Yarn 3.0.1 * ci: run yarn install on semantic release * ci: use setup-node cache * chore: update lockfile Co-authored-by: Ylemkimon <y@ylem.kim>
This commit is contained in:
29
.github/workflows/ci.yml
vendored
29
.github/workflows/ci.yml
vendored
@@ -15,20 +15,11 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false # minimize exposure and prevent accidental pushes
|
||||
|
||||
- name: Use Node.js 12.x
|
||||
- name: Use Node.js 12
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '12'
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
.yarn/cache
|
||||
.pnp.js
|
||||
key: yarn-deps-v1-${{ hashFiles('yarn.lock') }}
|
||||
restore-keys: |
|
||||
yarn-deps-v1-
|
||||
cache: yarn
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn --immutable
|
||||
@@ -63,20 +54,16 @@ jobs:
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Use Node.js 12.x
|
||||
- name: Use Node.js 12
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '12'
|
||||
cache: yarn
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
.yarn/cache
|
||||
.pnp.js
|
||||
key: yarn-deps-v1-${{ hashFiles('yarn.lock') }}
|
||||
restore-keys: |
|
||||
yarn-deps-v1-
|
||||
- name: Install dependencies
|
||||
run: yarn --immutable
|
||||
env:
|
||||
YARN_ENABLE_SCRIPTS: 0 # disable postinstall scripts
|
||||
- name: Run semantic-release
|
||||
run: yarn run semantic-release --debug
|
||||
env:
|
||||
|
Reference in New Issue
Block a user