diff --git a/.github/actions/setup-project/action.yml b/.github/actions/setup-project/action.yml index 97d491b8..d6277df3 100644 --- a/.github/actions/setup-project/action.yml +++ b/.github/actions/setup-project/action.yml @@ -4,7 +4,7 @@ description: Prepare the project for any CI action inputs: node-version: description: Version of Node to install - default: 18.x + default: 20.x with-fixture: description: If the setup should install the test/fixture files @@ -19,7 +19,7 @@ runs: steps: - name: 🏗 Setup Node with cache if: ${{ inputs.without-cache != 'true' }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ inputs.node-version }} cache: npm @@ -29,7 +29,7 @@ runs: - name: 🏗 Setup Node without cache if: ${{ inputs.without-cache == 'true' }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ inputs.node-version }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1c5086a9..08040acd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: contents: write steps: - name: 🏗 Setup repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🏗 Setup project uses: ./.github/actions/setup-project @@ -22,16 +22,13 @@ jobs: VSCODE_EXPO_TELEMETRY_KEY: ${{ secrets.VSCODE_TELEMETRY_KEY }} - name: 📋 Add package to release - uses: softprops/action-gh-release@v1 - with: - files: vscode-expo-*.vsix - tag_name: ${{ github.ref_name }} + run: gh release upload ${{ github.ref_name }} vscode-expo-${{ github.ref_name }}.vsix vscode-marketplace: runs-on: ubuntu-latest steps: - name: 🏗 Setup repo from tag - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🏗 Setup project uses: ./.github/actions/setup-project @@ -54,7 +51,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🏗 Setup repo from tag - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🏗 Setup project uses: ./.github/actions/setup-project diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc59d2e0..d7128e2f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: pull-requests: read steps: - name: 🏗 Setup repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🏗 Setup project uses: ./.github/actions/setup-project @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🏗 Setup repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.EXPOBOT_GITHUB_TOKEN }} diff --git a/.github/workflows/schema-eas.yml b/.github/workflows/schema-eas.yml index 27ac2a08..c6c52a28 100644 --- a/.github/workflows/schema-eas.yml +++ b/.github/workflows/schema-eas.yml @@ -28,14 +28,14 @@ jobs: runs-on: ubuntu-latest steps: - name: 🏗 Setup repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🏗 Setup project uses: ./.github/actions/setup-project - name: 🌐 Resolve version id: version - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const inputVersion = "${{ github.event.inputs.version || 'latest' }}"; @@ -54,7 +54,7 @@ jobs: curl https://raw.githubusercontent.com/expo/eas-cli/v${{ steps.version.outputs.resolved }}/packages/eas-json/schema/eas.schema.json -o ./schema/eas.json - name: 📋 Upload schema - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: error name: schema-eas @@ -66,13 +66,13 @@ jobs: needs: generate steps: - name: 🏗 Setup repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: schemas token: ${{ secrets.EXPOBOT_GITHUB_TOKEN }} - name: 📋 Download schema - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: schema-eas path: ./schema/ diff --git a/.github/workflows/schema-metadata.yml b/.github/workflows/schema-metadata.yml index 99caeff7..715fa682 100644 --- a/.github/workflows/schema-metadata.yml +++ b/.github/workflows/schema-metadata.yml @@ -28,14 +28,14 @@ jobs: runs-on: ubuntu-latest steps: - name: 🏗 Setup repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🏗 Setup project uses: ./.github/actions/setup-project - name: 🌐 Resolve version id: version - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const inputVersion = "${{ github.event.inputs.version || 'latest' }}"; @@ -54,7 +54,7 @@ jobs: curl https://raw.githubusercontent.com/expo/eas-cli/v${{ steps.version.outputs.resolved }}/packages/eas-cli/schema/metadata-0.json -o ./schema/eas-metadata.json - name: 📋 Upload schema - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: error name: schema-metadata @@ -66,13 +66,13 @@ jobs: needs: generate steps: - name: 🏗 Setup repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: schemas token: ${{ secrets.EXPOBOT_GITHUB_TOKEN }} - name: 📋 Download schema - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: schema-metadata path: ./schema/ diff --git a/.github/workflows/schema-xdl.yml b/.github/workflows/schema-xdl.yml index 61c726ba..e159c3b9 100644 --- a/.github/workflows/schema-xdl.yml +++ b/.github/workflows/schema-xdl.yml @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🏗 Setup repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🏗 Setup project uses: ./.github/actions/setup-project @@ -42,7 +42,7 @@ jobs: run: node ./scripts/schema-expo-xdl.js --latest - name: 📋 Upload schema - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: error name: schema-xdl @@ -54,13 +54,13 @@ jobs: needs: generate steps: - name: 🏗 Setup repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: schemas token: ${{ secrets.EXPOBOT_GITHUB_TOKEN }} - name: 📋 Download schema - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: schema-xdl path: ./schema/ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index af499397..e0cf64c5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🏗 Setup repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🏗 Setup project uses: ./.github/actions/setup-project @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🏗 Setup repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🏗 Setup project uses: ./.github/actions/setup-project @@ -43,7 +43,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🏗 Setup repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🏗 Setup project uses: ./.github/actions/setup-project @@ -79,7 +79,7 @@ jobs: vscode: [oldest, stable] steps: - name: 🏗 Setup repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🏗 Setup project uses: ./.github/actions/setup-project @@ -91,7 +91,7 @@ jobs: # This handles the "oldest" vscode version by looking up our "oldest supported version" - name: 🕵️ Set vscode version - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const { engines } = require('./package.json')