Skip to content

Commit

Permalink
feat(update): minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcrea committed Mar 16, 2024
1 parent d5a3ff5 commit f6b568f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 17 deletions.
42 changes: 26 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,41 +12,51 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['16']
node: ['lts/-1', 'lts/*']
name: Test on node@v${{ matrix.node }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Setup 🔧
uses: actions/setup-node@v2
uses: actions/checkout@v3
- name: Setup pnpm 🔧
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup node 🔧
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: true
cache: 'npm'
cache: 'pnpm'
- name: Install 🪄
run: npm ci
run: pnpm install --frozen-lockfile
- name: Lint 🔍
run: npm run lint
run: pnpm run lint
- name: Prettier 🔍
run: npm run prettycheck
run: pnpm run prettycheck
- name: TypeScript 🔍
run: npm run typecheck
run: pnpm run typecheck
# - name: Vitest 🔍
# run: pnpm run spec
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['16']
node: ['lts/-1', 'lts/*']
name: Build on node@v${{ matrix.node }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Setup 🔧
uses: actions/setup-node@v2
uses: actions/checkout@v3
- name: Setup pnpm 🔧
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup node 🔧
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: true
cache: 'npm'
cache: 'pnpm'
- name: Install 🪄
run: npm ci
run: pnpm install --frozen-lockfile
- name: Build 💎
run: npm run build
run: pnpm run build
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
},
"devDependencies": {
"@tsconfig/node-lts": "^20.1.1",
"@tsconfig/node10": "^1.0.9",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.0",
Expand Down

0 comments on commit f6b568f

Please sign in to comment.