Skip to content

Commit

Permalink
ci: add build job
Browse files Browse the repository at this point in the history
  • Loading branch information
hf committed Apr 20, 2024
1 parent 0816b0b commit 0835ae4
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,24 @@ jobs:
tsc: true
prettier: true

# Lint:
# strategy:
# matrix:
# node: ['18']
Build:
strategy:
matrix:
node: ['20']

# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# - uses: pnpm/action-setup@v2
# with:
# version: 8.1.0
- uses: pnpm/action-setup@v2.2.3
with:
version: 8.14.0

# - uses: actions/setup-node@v3
# with:
# node-version: 18.x
# cache: pnpm
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: pnpm

# - run: pnpm install --frozen-lockfile
# - run: pnpm run lint
# - run: pnpm run check
- run: pnpm install --frozen-lockfile
- run: pnpm build

0 comments on commit 0835ae4

Please sign in to comment.