Skip to content

Commit

Permalink
Update ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Oct 2, 2022
1 parent e22b718 commit 258fe08
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,23 @@ on:

jobs:
test:
name: test
name: Test
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v3

- name: setup node
uses: actions/setup-node@v2
with:
node-version: '14.15'

- name: install pnpm
run: npm i -g pnpm@6
- name: Install pnpm
uses: pnpm/action-setup@v2.2.2

- name: cache
uses: actions/cache@v2
- name: Setup node
uses: actions/setup-node@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
node-version: 16
cache: pnpm

- name: install dependencies
- name: Install dependencies
run: pnpm install --frozen-lockfile --prefer-offline

- name: test
- name: Test
run: pnpm test

0 comments on commit 258fe08

Please sign in to comment.