Skip to content

Commit

Permalink
Merge branch 'feature/HOP-48-icons' of https://github.com/gsoft-inc/w…
Browse files Browse the repository at this point in the history
…l-hopper into feature/HOP-48-icons
  • Loading branch information
alexasselin008 committed Nov 16, 2023
2 parents e4bcbe3 + 89c2e25 commit 88df4d1
Showing 1 changed file with 6 additions and 24 deletions.
30 changes: 6 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

# Pnpm setup based on https://github.com/pnpm/action-setup#use-cache-to-reduce-installation-time
# Pnpm setup based on https://pnpm.io/continuous-integration#github-actions

on:
push:
Expand All @@ -11,10 +11,6 @@ on:
env:
CI: true

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -23,29 +19,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v3

- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
cache: "pnpm"

- name: Install dependencies
run: pnpm i --frozen-lockfile
Expand Down

0 comments on commit 88df4d1

Please sign in to comment.