Skip to content

chore: throw some upgrades into the mix #79

chore: throw some upgrades into the mix

chore: throw some upgrades into the mix #79

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
env:
ARTIFACTS_DIR: ./artifacts
jobs:
commit-watch:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' && !contains(github.event.head_commit.message, '[skip ci]')
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Prepare Environment
uses: ./.github/actions/prepare-env
- name: Commit Watch
env:
COMMIT_WATCH_OUTPUT_DIR: ${{ env.ARTIFACTS_DIR }}
COMMITWATCH_GITHUB_TOKEN: ${{ secrets.PR_BOT_GITHUB_TOKEN }}
CI_REPO_OWNER: ${{ github.repository_owner }}
CI_REPO_NAME: ${{ github.event.repository.name }}
CI_COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
CI_BASE_BRANCH: origin/${{ github.base_ref }}
run: yarn dlx commit-watch
build-and-test:
name: Build & Test
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
steps:
- uses: actions/checkout@v3
- name: Prepare Environment
uses: ./.github/actions/prepare-env
- uses: actions/cache@v3
with:
path: .turbo
key: ${{ github.job }}-${{ github.ref_name }}-${{ github.sha }}
restore-keys: ${{ github.job }}-${{ github.ref_name }}-
- name: Build packages
run: yarn prepack
- name: Tests
run: yarn test
- name: Lint
run: yarn lint
- name: Typecheck
run: yarn typecheck