Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wooneusean committed Oct 29, 2023
2 parents dc1faea + 3bd1c32 commit 4899ac3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: write
jobs:
Expand All @@ -17,6 +19,20 @@ jobs:
with:
version: 8.7.6

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
pnpm install
Expand Down

0 comments on commit 4899ac3

Please sign in to comment.