-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
32 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Test & Release | ||
name: Tests & Lint | ||
|
||
on: | ||
push: | ||
|
@@ -7,6 +7,36 @@ on: | |
pull_request: | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node 22 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Setup PNPM | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 8.12.1 | ||
|
||
- name: Install deps | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Build package | ||
run: pnpm package | ||
|
||
- name: Lint | ||
run: pnpm lint | ||
|
||
- name: Astro & Svelte Check | ||
run: pnpm check | ||
|
||
tests: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
|
@@ -15,7 +45,7 @@ jobs: | |
node: [18, 20, 22] | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node ${{ matrix.node }} | ||
uses: actions/setup-node@v4 | ||
|
@@ -34,12 +64,6 @@ jobs: | |
- name: Build package | ||
run: pnpm package | ||
|
||
- name: Lint | ||
run: pnpm lint | ||
|
||
- name: Astro & Svelte Check | ||
run: pnpm check | ||
|
||
- name: Test | ||
run: pnpm test | ||
|