mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-14 10:09:09 +03:00
fix: github actions
This commit is contained in:
@@ -12,25 +12,21 @@ on:
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./common
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install Node.js 16
|
||||
uses: actions/setup-node@v2
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
node-version: 16.x
|
||||
version: latest
|
||||
|
||||
- name: Install PNPM
|
||||
uses: pnpm/action-setup@v2.0.1
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
version: 6.0.2
|
||||
|
||||
- name: Install Dependencies
|
||||
run: pnpm i
|
||||
node-version: 16
|
||||
cache: pnpm
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm --filter tachi-common... --filter . install
|
||||
|
||||
- name: Run Tests
|
||||
run: pnpm test
|
||||
run: pnpm --filter tachi-common test
|
||||
|
||||
Reference in New Issue
Block a user