From da323315795b5f9ebd07b2a0026675719651ad68 Mon Sep 17 00:00:00 2001 From: Petr Konecny Date: Sat, 10 Oct 2026 18:32:22 +0200 Subject: [PATCH] ci: drop the unused expo setup, move to node 22 and publish with the built-in token The setup action installed eas-cli@latest, which now needs Node 22, so every PR check failed before running a single step. Nothing in CI uses EAS or Expo, so the step is gone, and CI runs on Node 22 since Node 20 is end-of-life. auto shipit authenticated to GitHub with the GH_TOKEN personal access token, which has expired. npm already publishes through trusted publishing, and the workflow's own token has the permissions auto needs, so no stored token is left. Co-Authored-By: Claude Opus 5.5 --- .github/actions/setup/action.yml | 14 ++------------ .github/workflows/main.yml | 4 ++-- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index f6a9506..c7d0134 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -1,16 +1,12 @@ name: Setup Environment -description: 'Set up Node.js, yarn, Expo CLI' -inputs: - EXPO_TOKEN: - required: true - description: 'Expo API key' +description: 'Set up Node.js and yarn, and install dependencies' runs: using: composite steps: - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: 'yarn' - uses: actions/cache@v4 @@ -21,12 +17,6 @@ runs: restore-keys: | ${{ runner.os }}-yarn- - - uses: expo/expo-github-action@v8 - with: - eas-version: latest - token: ${{ inputs.EXPO_TOKEN }} - packager: yarn - - name: Install Dependencies run: yarn install --frozen-lockfile shell: bash diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ea6eba4..f5e7b53 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: 'yarn' - run: yarn install - run: yarn lint @@ -39,5 +39,5 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: yarn install - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: unset NODE_AUTH_TOKEN && npx auto shipit