Update main.yml

This commit is contained in:
Youwen Wu 2024-03-13 12:44:04 -07:00 committed by GitHub
parent aef448f6ff
commit b1df1d82a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,6 +28,17 @@ jobs:
- name: install Rust stable - name: install Rust stable
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: install frontend dependencies - name: install frontend dependencies
run: pnpm install # change this to npm or pnpm depending on which one you use run: pnpm install # change this to npm or pnpm depending on which one you use