[F] Fix ERR_LOADER_CHAIN_INCOMPLETE

pull/29/head
Hykilpikonna 2022-08-30 09:52:20 -04:00 committed by GitHub
parent ab8ae7e948
commit ff05aeba80
Signed by: github
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 4 deletions

View File

@ -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)"