Skip to content

Commit

Permalink
chore: optimize deployments with yarn cache
Browse files Browse the repository at this point in the history
  • Loading branch information
sparky-raccoon committed Jan 15, 2024
1 parent d14855b commit 34933e9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install npm dependencies with yarn
run: yarn
- name: Check out yarn cache
uses: actions/setup-node@v4
with:
node-version: 14
cache: yarn
- name: Install npm dependencies with yarn if needed
run: yarn install --from-lock-file
- name: Build epitome (/dist)
run: yarn run build
- name: Stop previous epitome pm2 process
Expand Down

0 comments on commit 34933e9

Please sign in to comment.