diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 20c8fc6..3306cea 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -7,38 +7,38 @@ on: jobs: build: - name: Build - runs-on: ubuntu-latest - steps: - - name: Check out the repo - users: actions/checkout@v4 + name: Build + runs-on: ubuntu-latest + steps: + - name: Check out the repo + users: actions/checkout@v4 - - name: Install node.js - uses: actions/setup-node@v4 - with: - node-version: 20 + - name: Install node.js + uses: actions/setup-node@v4 + with: + node-version: 20 - - uses: pnpm/action-setup@v4 - name: Install pnpm - with: - version: 9 - run_install: false + - uses: pnpm/action-setup@v4 + name: Install pnpm + with: + version: 9 + run_install: false - - name: Get pnpm store directory - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV + - name: Get pnpm store directory + shell: bash + run: | + echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - uses: actions/cache@v4 - name: Setup pnpm cache - with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- + - uses: actions/cache@v4 + 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 dependencies - run: pnpm install + - name: Install dependencies + run: pnpm install - - name: Build - run: pnpm build + - name: Build + run: pnpm build