chore: use process.cwd instead of the basePath #10041
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
# This Action should run on each PR by verifying if they pass on lint, test and build | |
name: CI | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
build: | |
name: FastStore | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn | |
- name: Build | |
run: yarn build | |
- name: Size | |
run: yarn size | |
- name: Lint | |
run: yarn lint | |
- name: Test | |
run: yarn test |