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