Skip to content

Commit

Permalink
Use setup-node GH action with yarn caching (#180)
Browse files Browse the repository at this point in the history
* Use setup-node GH action with yarn caching

* Add step name
  • Loading branch information
hwrdtm authored Jul 17, 2023
1 parent b176b04 commit 852b0f1
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,19 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install project dependencies
run: yarn install
- uses: nrwl/nx-set-shas@v3
with:
main-branch-name: 'master'
- run: yarn install

- run: npx nx test
- name: Run tests
run: npx nx test

1 comment on commit 852b0f1

@vercel
Copy link

@vercel vercel bot commented on 852b0f1 Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.