diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 386b31300..2c12faf55 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -12,7 +12,7 @@ jobs: token: ${{ secrets.OCTOKITBOT_PAT }} - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: npm - run: npm ci - run: echo "./node_modules/.bin" >> $GITHUB_PATH diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e1631e080..800bba152 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: npm - run: npm ci - run: npm test @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: npm - run: npm ci - run: cd payload-examples && npm i && cd .. @@ -39,7 +39,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: npm - run: npm ci - run: npm run build:schema @@ -55,7 +55,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: npm - run: npm ci - run: npm run build:webhooks -- --check --cached diff --git a/.github/workflows/update-prettier.yml b/.github/workflows/update-prettier.yml index f00bc490c..323f684bd 100644 --- a/.github/workflows/update-prettier.yml +++ b/.github/workflows/update-prettier.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: npm - run: npm ci - run: npm run lint:fix diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 7218623f2..b3334915e 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: npm - run: git checkout webhooks-update || true - run: npm ci