Skip to content

Commit

Permalink
meta: use Node 20, remain using Node 16 for v6 docs generation (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
WikiRik authored Nov 14, 2023
1 parent 1c4fc1c commit 4137089
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn lint-no-fix
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn lint-no-fix
Expand Down
3 changes: 2 additions & 1 deletion sync-repositories.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ rm -rf "$API_DIR/v6"
git clone -b v6 --single-branch "$MAIN_REPO_URL" --depth 1 .sequelize/v6

pushd "$DOCS_DIR/v6"
yarn # Install branch deps & build
yarn global add node-gyp --ignore-engines
yarn --ignore-engines # Install branch deps & build
yarn docs # Generate v6 typedocs
mv esdoc "$API_DIR/v6" # Move compiled api reference
popd
Expand Down

0 comments on commit 4137089

Please sign in to comment.