diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 537629b08..ef5a69cd9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,11 +22,9 @@ jobs: with: access_token: ${{ secrets.GITHUB_TOKEN }} - name: Get Latest - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18.x - - name: NPM ^9.5.0 - run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org + node-version: 20 - uses: actions/checkout@v3 - name: Restore Dependency Cache id: cache-modules @@ -56,11 +54,9 @@ jobs: needs: - setup steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18.x - - name: NPM ^9.5.0 - run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org + node-version: 20 - uses: actions/checkout@v3 - name: Restore Dependency Cache id: cache-modules @@ -84,11 +80,9 @@ jobs: matrix: plugin: ${{ fromJson(needs.setup.outputs.plugins) }} steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18.x - - name: NPM ^9.5.0 - run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org + node-version: 20 - uses: actions/checkout@v3 - name: Restore Dependency Cache id: cache-modules @@ -117,11 +111,9 @@ jobs: plugin: ${{ fromJson(needs.setup.outputs.plugins) }} steps: - run: sudo xcode-select --switch ${{ matrix.xcode }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18.x - - name: NPM ^9.5.0 - run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org + node-version: 20 - uses: actions/checkout@v3 - name: Restore Dependency Cache id: cache-modules @@ -147,16 +139,14 @@ jobs: matrix: plugin: ${{ fromJson(needs.setup.outputs.plugins) }} steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20 - name: set up JDK 17 uses: actions/setup-java@v3 with: java-version: '17' distribution: 'zulu' - - name: NPM ^9.5.0 - run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org - uses: actions/checkout@v3 - name: Restore Dependency Cache id: cache-modules @@ -183,11 +173,9 @@ jobs: matrix: plugin: ${{ fromJson(needs.setup.outputs.plugins) }} steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18.x - - name: NPM ^9.5.0 - run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org + node-version: 20 - uses: actions/checkout@v3 - name: Restore Dependency Cache id: cache-modules diff --git a/.github/workflows/dev-releases-for-pr.yml b/.github/workflows/dev-releases-for-pr.yml index c68855fb1..262206104 100644 --- a/.github/workflows/dev-releases-for-pr.yml +++ b/.github/workflows/dev-releases-for-pr.yml @@ -23,9 +23,9 @@ jobs: with: access_token: ${{ secrets.GITHUB_TOKEN }} - name: Get Latest - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18.18.0 + node-version: 20 - uses: actions/checkout@v3 - name: Restore Dependency Cache id: cache-modules @@ -61,9 +61,9 @@ jobs: matrix: plugin: ${{ fromJson(needs.setup.outputs.plugins) }} steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18.18.0 + node-version: 20 - uses: actions/checkout@v3 - name: Restore Dependency Cache id: cache-modules diff --git a/.github/workflows/publish-ios.yml b/.github/workflows/publish-ios.yml index 7187cb7bb..13d99ac42 100644 --- a/.github/workflows/publish-ios.yml +++ b/.github/workflows/publish-ios.yml @@ -16,9 +16,9 @@ jobs: plugin: ${{ fromJson(github.event.inputs.plugins) }} steps: - run: sudo xcode-select --switch /Applications/Xcode_15.0.app - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - uses: actions/checkout@v3 - name: Install Cocoapods run: | diff --git a/.github/workflows/publish-npm-alpha.yml b/.github/workflows/publish-npm-alpha.yml index dca4f67f8..6240d35f9 100644 --- a/.github/workflows/publish-npm-alpha.yml +++ b/.github/workflows/publish-npm-alpha.yml @@ -15,9 +15,9 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CAP_GH_RELEASE_TOKEN }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 registry-url: https://registry.npmjs.org/ cache: npm cache-dependency-path: '**/package.json' diff --git a/.github/workflows/publish-npm-beta.yml b/.github/workflows/publish-npm-beta.yml index d39d359a5..67680fc41 100644 --- a/.github/workflows/publish-npm-beta.yml +++ b/.github/workflows/publish-npm-beta.yml @@ -15,9 +15,9 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CAP_GH_RELEASE_TOKEN }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 registry-url: https://registry.npmjs.org/ cache: npm cache-dependency-path: '**/package.json' diff --git a/.github/workflows/publish-npm-dev.yml b/.github/workflows/publish-npm-dev.yml index aff2ef85c..92f48a5cf 100644 --- a/.github/workflows/publish-npm-dev.yml +++ b/.github/workflows/publish-npm-dev.yml @@ -15,9 +15,9 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CAP_GH_RELEASE_TOKEN }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 registry-url: https://registry.npmjs.org/ cache: npm cache-dependency-path: '**/package.json' diff --git a/.github/workflows/publish-npm-latest-from-pre.yml b/.github/workflows/publish-npm-latest-from-pre.yml index c0e19d912..735d65387 100644 --- a/.github/workflows/publish-npm-latest-from-pre.yml +++ b/.github/workflows/publish-npm-latest-from-pre.yml @@ -23,9 +23,9 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CAP_GH_RELEASE_TOKEN }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 registry-url: https://registry.npmjs.org/ cache: npm cache-dependency-path: '**/package.json' diff --git a/.github/workflows/publish-npm-latest.yml b/.github/workflows/publish-npm-latest.yml index 2a4dac503..071ab1c3c 100644 --- a/.github/workflows/publish-npm-latest.yml +++ b/.github/workflows/publish-npm-latest.yml @@ -23,9 +23,9 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CAP_GH_RELEASE_TOKEN }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 registry-url: https://registry.npmjs.org/ cache: npm cache-dependency-path: '**/package.json' diff --git a/.github/workflows/publish-npm-nightly.yml b/.github/workflows/publish-npm-nightly.yml index 30a89367e..586444aee 100644 --- a/.github/workflows/publish-npm-nightly.yml +++ b/.github/workflows/publish-npm-nightly.yml @@ -18,9 +18,9 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CAP_GH_RELEASE_TOKEN }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 registry-url: https://registry.npmjs.org/ cache: npm cache-dependency-path: '**/package.json' diff --git a/.github/workflows/publish-npm-rc.yml b/.github/workflows/publish-npm-rc.yml index 017889bd3..16001a126 100644 --- a/.github/workflows/publish-npm-rc.yml +++ b/.github/workflows/publish-npm-rc.yml @@ -15,9 +15,9 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CAP_GH_RELEASE_TOKEN }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 registry-url: https://registry.npmjs.org/ cache: npm cache-dependency-path: '**/package.json'