Skip to content

Commit

Permalink
👷 Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
noraincode authored Mar 5, 2024
1 parent a4a7c6f commit fde441b
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,20 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Setup pnpm
uses: pnpm/[email protected]
with:
run_install: pnpm install
- run: pnpm test
cache: 'pnpm'

- name: Install pnpm
run: npm install -g pnpm

- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm test
env:
MOONSHOT_API_KEY: ${{ secrets.MOONSHOT_API_KEY }}

0 comments on commit fde441b

Please sign in to comment.