diff --git a/.github/workflows/api-snapshot.yml b/.github/workflows/api-snapshot.yml index bec39cc6bd..769d845a84 100644 --- a/.github/workflows/api-snapshot.yml +++ b/.github/workflows/api-snapshot.yml @@ -15,11 +15,10 @@ jobs: api-snapshot: name: API Snapshot runs-on: ubuntu-latest - env: - TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} - TURBO_TEAM: rocicorp steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + with: + persist-credentials: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: node-version: 24.x diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index d3cef9ee36..4be830bd22 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -18,17 +18,22 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + with: + persist-credentials: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: node-version: 24.x cache: 'npm' - - run: npx syncpack lint + - run: npm ci + - run: npm exec -- syncpack lint verify-deps: name: Verify Package Dependencies runs-on: ubuntu-latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + with: + persist-credentials: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: node-version: 24.x @@ -40,26 +45,25 @@ jobs: name: Oxfmt runs-on: ubuntu-latest needs: [syncpack, verify-deps] - env: - TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} - TURBO_TEAM: rocicorp steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + with: + persist-credentials: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: node-version: 24.x cache: 'npm' - - run: npx oxfmt@^0.45.0 --check + - run: npm ci + - run: npm run check-format lint: name: Lint runs-on: ubuntu-latest needs: [syncpack, verify-deps] - env: - TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} - TURBO_TEAM: rocicorp steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + with: + persist-credentials: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: node-version: 24.x @@ -71,11 +75,10 @@ jobs: name: Check Types runs-on: ubuntu-latest needs: [syncpack, verify-deps] - env: - TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} - TURBO_TEAM: rocicorp steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + with: + persist-credentials: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: node-version: 24.x @@ -91,13 +94,11 @@ jobs: fail-fast: false matrix: shard: [1, 2, 3] - env: - TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} - TURBO_TEAM: rocicorp steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: fetch-depth: 100 + persist-credentials: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: node-version: 24.x @@ -116,21 +117,15 @@ jobs: matrix: pg-version: [18, 17, 16, 15] shard: [1, 2] - env: - TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} - TURBO_TEAM: rocicorp steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: fetch-depth: 100 + persist-credentials: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: node-version: 24.x cache: 'npm' - run: npm ci - name: Run tests - uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4 - with: - timeout_minutes: 10 - max_attempts: 3 - command: TEST_PG_MODE=pg-${{ matrix.pg-version }} npm run test -- --shard=${{ matrix.shard }}/2 + run: TEST_PG_MODE=pg-${{ matrix.pg-version }} npm run test -- --shard=${{ matrix.shard }}/2 diff --git a/packages/replicache/.github/workflows/upload-release-assets.yml b/packages/replicache/.github/workflows/upload-release-assets.yml index 47ea7c45b1..c59971ca7a 100644 --- a/packages/replicache/.github/workflows/upload-release-assets.yml +++ b/packages/replicache/.github/workflows/upload-release-assets.yml @@ -8,10 +8,6 @@ on: jobs: build: runs-on: ubuntu-latest - env: - TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} - TURBO_TEAM: rocicorp - TURBO_REMOTE_ONLY: true steps: - uses: actions/checkout@v6