diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 1f48963f5..b8b367ae4 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 cache: 'yarn' - name: Install dependencies run: yarn install @@ -36,4 +36,4 @@ jobs: run: aws s3 sync build/ s3://staging-semgrep-dev/docs --delete - name: Deploy to production if: github.ref == 'refs/heads/main' - run: aws s3 sync build/ s3://semgrep-docs/docs --delete \ No newline at end of file + run: aws s3 sync build/ s3://semgrep-docs/docs --delete diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 595ff9ee3..d5353d069 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -11,9 +11,9 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 cache: 'yarn' - name: Install dependencies run: yarn install - name: Build - run: yarn build \ No newline at end of file + run: yarn build