Skip to content

Commit

Permalink
bump to node 20 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
taranvohra committed Jan 9, 2024
1 parent a89f395 commit 56895a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
deploy-integration-to-production:
if: github.event.release.draft == false && github.event.release.prerelease == false && startsWith(github.event.release.tag_name, '@gitbook/integration-')
if: github.event.release.draft == false && github.event.release.prerelease == false && contains(github.event.release.tag_name, '@gitbook/integration-')
name: Deploy integration to production
runs-on: ubuntu-latest
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup Node.js 18.x
- name: Setup Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x

- name: Install Dependencies
run: npm ci
Expand All @@ -41,10 +41,10 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node.js 18.x
- name: Setup Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
- name: Install Dependencies
# We need to build and then re-install so that the "bin" can be correctly linked
run: |
Expand Down

0 comments on commit 56895a8

Please sign in to comment.