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 Apr 15, 2024
1 parent 0e9bddc commit 3704ff3
Showing 1 changed file with 26 additions and 16 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: ['12', '14', '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: ['12', '14', '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

0 comments on commit 3704ff3

Please sign in to comment.