Skip to content

Commit 8cf31b4

Browse files
committed
👷 Add lint test
1 parent e859f6d commit 8cf31b4

File tree

4 files changed

+38
-17
lines changed

4 files changed

+38
-17
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: 'Setup'
2+
description: 'Setup Node.js environment and dependencies'
3+
4+
runs:
5+
using: 'composite'
6+
steps:
7+
- uses: actions/setup-node@v4
8+
with:
9+
node-version: "lts/*"
10+
- name: Install Dependencies
11+
shell: bash
12+
run: npm ci
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Test
2+
on:
3+
push:
4+
branches-ignore:
5+
- main
6+
jobs:
7+
test-svelte:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: './.github/shared/setup-node'
12+
- name: Lint
13+
run: npm run lint
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Test
2+
on:
3+
push:
4+
branches-ignore:
5+
- main
6+
jobs:
7+
test-svelte:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: './.github/shared/setup-node'
12+
- name: Test
13+
run: npm run test

‎.github/workflows/test.yml‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)