fix: remove await - Top-level await is not available in the configure… #23
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: CI | |
on: | |
workflow_call: | |
inputs: | |
environment: | |
required: true | |
type: string | |
push: | |
paths: | |
- 'packages/**' | |
- './**' | |
- '.github/workflows/CI.yml' | |
- 'package.json' | |
- 'pnpm-lock.yaml' | |
- 'pnpm-workspace.yaml' | |
- 'turbo.json' | |
- 'biome.json' | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
typecheck: | |
name: 'Typechecking' | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: 'Checking Out Code' | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: 'Installing Dependencies' | |
uses: ./.github/actions/install | |
- name: 'Doing the typecheck' | |
run: pnpm turbo typecheck | |
linting: | |
name: 'Linting' | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: 'Checking Out Code' | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: 'Installing Dependencies' | |
uses: ./.github/actions/install | |
- name: 'Running lint' | |
run: pnpm turbo lint | |
test: | |
name: 'Tests' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checking Out Code' | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: 'Installing Dependencies' | |
uses: ./.github/actions/install | |
- name: 'Running Unit Tests' | |
run: pnpm turbo test | |
build: | |
name: 'Builds' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checking Out Code' | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: 'Installing Dependencies' | |
uses: ./.github/actions/install | |
- name: 'Building' | |
run: pnpm turbo build |