Skip to content

Commit

Permalink
ci: upgrade versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Sep 20, 2023
1 parent d04abe4 commit 42aa6f8
Showing 1 changed file with 6 additions and 24 deletions.
30 changes: 6 additions & 24 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,18 @@ on:

jobs:
test:
if: "!contains(github.event.head_commit.message, 'ci skip')"

strategy:
matrix:
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2

- uses: actions/setup-node@v1
with:
node-version: 16.x

- name: Cache ~/.pnpm-store
uses: actions/cache@v2
env:
cache-name: cache-pnpm-store
- uses: actions/setup-node@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ matrix.node-version }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node-version }}-build-${{ env.cache-name }}-
${{ runner.os }}-${{ matrix.node-version }}-build-
${{ runner.os }}-
- name: Install pnpm
run: npm i -g pnpm
node-version: lts/*
cache: pnpm

- name: Install deps
run: pnpm i
Expand Down

0 comments on commit 42aa6f8

Please sign in to comment.