mirror of
https://github.com/one-among-us/data.git
synced 2024-11-22 03:04:51 +08:00
[F] Fix ERR_LOADER_CHAIN_INCOMPLETE
This commit is contained in:
parent
ab8ae7e948
commit
ff05aeba80
13
.github/workflows/generator.yml
vendored
13
.github/workflows/generator.yml
vendored
@ -11,23 +11,28 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16.x
|
# Upgrading to 16.17.0 result in ERR_LOADER_CHAIN_INCOMPLETE issue.
|
||||||
|
node-version: 16.16.0
|
||||||
|
|
||||||
- name: Cache node_modules
|
- name: Cache node_modules
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
id: cache
|
id: cache
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }}
|
||||||
restore-keys: ${{ runner.os }}-node-
|
restore-keys: ${{ runner.os }}-node-
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
run: yarn install --production --frozen-lockfile
|
run: yarn install --production --frozen-lockfile
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "$(git show -s --format='%an' HEAD)"
|
git config --global user.name "$(git show -s --format='%an' HEAD)"
|
||||||
|
Loading…
Reference in New Issue
Block a user