Skip to content

Commit

Permalink
fix(tools): update workflows (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
Naomi authored Apr 17, 2024
1 parent 2aceee4 commit 004514b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4,928 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/build-dist.yml

This file was deleted.

8 changes: 6 additions & 2 deletions .github/workflows/code-ql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: npm ci
run: pnpm i
- name: Build files
run: npm run build
run: pnpm run build
- name: Setup CodeQL
uses: github/codeql-action/init@v1
with:
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,22 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Install Dependencies
run: npm ci
run: pnpm i

- name: Lint Source Files
run: npm run lint
run: pnpm run lint

- name: Verify TypeScript Build
run: npm run build
run: pnpm run build

- name: Verify Distribution Build
run: npm run package
run: pnpm run package

- name: Run Tests
run: npm run test
run: pnpm run test
Loading

0 comments on commit 004514b

Please sign in to comment.