Bump actions/setup-node from 4.0.3 to 4.1.0 #535
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: Build and check | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
push: | |
branches: | |
- main | |
env: | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
jobs: | |
checks: | |
name: Build and check | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
env: | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 2 | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
cache: yarn | |
node-version-file: .node-version | |
- name: Install Node.js dependencies | |
run: yarn install --immutable | |
- name: Build | |
run: yarn turbo run build | |
- name: Check | |
run: yarn turbo run check |