1
0
mirror of https://github.com/one-among-us/data.git synced 2024-11-10 13:24:50 +08:00

[F] Fix ERR_LOADER_CHAIN_INCOMPLETE

This commit is contained in:
Hykilpikonna 2022-08-30 09:52:20 -04:00 committed by GitHub
parent ab8ae7e948
commit ff05aeba80
Signed by: github
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,23 +11,28 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
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
uses: actions/cache@v2
uses: actions/cache@v3
id: cache
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }}
restore-keys: ${{ runner.os }}-node-
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --production --frozen-lockfile
- name: Build
run: yarn build
- name: Deploy
run: |
git config --global user.name "$(git show -s --format='%an' HEAD)"