diff --git a/.github/workflows/draft.yml b/.github/workflows/draft.yml index 21fd4d1e..58fe0043 100644 --- a/.github/workflows/draft.yml +++ b/.github/workflows/draft.yml @@ -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 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5c56d3cb..759cd7aa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/sync-repositories.sh b/sync-repositories.sh index 5213debe..0369ccc5 100755 --- a/sync-repositories.sh +++ b/sync-repositories.sh @@ -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