Skip to content

Commit

Permalink
Try running CI on Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
abarghoud committed Oct 9, 2024
1 parent a76979c commit 1e76999
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- main
pull_request:
branches:
- '**'

permissions:
actions: read
Expand All @@ -14,15 +16,15 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
# Cache node_modules
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn # Enables caching for Yarn dependencies

- run: yarn install --frozen-lockfile
- uses: nrwl/nx-set-shas@v4

# Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
# - run: npx nx-cloud record -- echo Hello World
# 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
- run: npx nx run-many --all -t lint test build

0 comments on commit 1e76999

Please sign in to comment.