Skip to content

Commit 4465b5c

Browse files
committed
adds workflow dispatch
1 parent 7fea87a commit 4465b5c

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Publish Package
33
on:
44
release:
55
types: [created]
6+
workflow_dispatch:
67

78
jobs:
89
publish:
@@ -20,14 +21,6 @@ jobs:
2021
- name: Install dependencies
2122
run: npm ci
2223

23-
- name: Run linter
24-
run: npm run lint
25-
26-
- name: Run tests
27-
run: npm test
28-
env:
29-
CI: true
30-
3124
- name: Build
3225
run: npm run build
3326

.github/workflows/test.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,14 @@ on:
99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
12-
strategy:
13-
matrix:
14-
node-version: [20.x]
1512

1613
steps:
1714
- uses: actions/checkout@v4
1815

19-
- name: Use Node.js ${{ matrix.node-version }}
16+
- name: Use Node.js 20.x
2017
uses: actions/setup-node@v4
2118
with:
22-
node-version: ${{ matrix.node-version }}
19+
node-version: 20.x
2320
cache: 'npm'
2421

2522
- name: Install dependencies

0 commit comments

Comments
 (0)