Skip to content

Test should depend on build #17

Test should depend on build

Test should depend on build #17

Workflow file for this run

name: CI
on:
push:
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "pnpm"
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Turbo
run: pnpm turbo run build lint test typecheck
- name: Create Release Pull Request
uses: changesets/action@v1
# Only create a release pull request if this is a push to main
if: github.ref == 'refs/heads/main'
with:
publish: pnpm publish-packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}