Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrregjerstad committed May 11, 2024
1 parent 980fc89 commit 9234040
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,41 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-node@v4
with:
node-version: '18.18.0'
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ needs.setup.outputs.cache-key }}
- run: pnpm install
- run: pnpm run lint

build:
needs: lint
runs-on: ubuntu-latest
outputs:
build-artifact: build
steps:
- uses: actions/[email protected]
- uses: actions/setup-node@v4
with:
node-version: '18.18.0'
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ needs.setup.outputs.cache-key }}
- run: pnpm install
- run: pnpm run build
- uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 9234040

Please sign in to comment.