chore: exit pre-release #3513
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test CI | |
on: | |
push: | |
branches: | |
- '**' | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Checkout Commit | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
run_install: false | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Setup pnpm store path | |
run: pnpm config set store-dir ~/.pnpm-store | |
- uses: actions/cache@v4 | |
name: Setup pnpm cache | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pnpm-store- | |
- name: pnpm install | |
run: pnpm install | |
- name: Setup turbo cache | |
env: | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
TURBO_API: ${{ secrets.TURBO_API }} | |
run: node scripts/setupTurboCache.js | |
- name: Run build | |
run: pnpm build | |
- name: Run linter checks | |
run: pnpm lint:check | |
- name: Run prettier checks | |
run: pnpm pretty:check | |
- name: Run tests | |
run: pnpm test |