Skip to content

Commit

Permalink
chore: Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
duanyytop committed May 29, 2024
1 parent 6c65747 commit 52c5368
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,18 @@ on:
push:

jobs:
test:
lint:
runs-on: ubuntu-latest
steps:
- name: Install Node.js
uses: actions/setup-node@v4
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.5.0
with:
node-version: 20.x

- uses: pnpm/action-setup@v3
name: Install -g pnpm
node-version: '20'
- uses: pnpm/[email protected]
with:
version: 8
run_install: false

- name: Install dependencies
- name: Install dependency
run: pnpm install

- name: Lint packages
- name: Lint
run: pnpm lint

15 changes: 11 additions & 4 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,20 @@ on:
- cron: '*/5 * * * *' # Run every 5 minutes

jobs:
my-job:
Update:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: '20'
- uses: pnpm/[email protected]
with:
version: 8
- name: Install dependency
run: pnpm install

- name: Run your task
- name: Update CellDeps
run: |
pnpm update:cellDeps

0 comments on commit 52c5368

Please sign in to comment.