Skip to content

Merge pull request #8 from matthewgallo/ci-test #58

Merge pull request #8 from matthewgallo/ci-test

Merge pull request #8 from matthewgallo/ci-test #58

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
permissions:
actions: read
contents: read
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Cache node_modules
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install
run: yarn
# Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected
- run: npx nx affected -t lint test build --base=origin/main --head=origin/${{ github.head_ref || github.ref_name }}