Skip to content

Commit af1e284

Browse files
committed
Updating workflows
1 parent 547f874 commit af1e284

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,25 @@ on:
44
workflow_dispatch:
55
inputs:
66
releaseType:
7-
description: 'Release type - major, minor or patch'
7+
description: "Release Type"
88
required: true
9-
default: 'patch'
9+
type: choice
10+
default: "patch"
11+
options:
12+
- patch
13+
- minor
14+
- major
1015

1116
jobs:
1217
publish:
1318
runs-on: ubuntu-latest
1419
steps:
1520
- name: Clone Repository
16-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
1722
- name: Setup Node version
18-
uses: actions/setup-node@v1
23+
uses: actions/setup-node@v3
1924
with:
20-
node-version: 12
25+
node-version: 18
2126
- name: Install dependencies
2227
run: npm ci
2328
- name: Run tests

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Clone Repository
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v3
1414
- name: Setup Node version
15-
uses: actions/setup-node@v1
15+
uses: actions/setup-node@v3
1616
with:
17-
node-version: 12
17+
node-version: 18
1818
- name: Install dependencies
1919
run: npm ci
2020
- run: npm run build

0 commit comments

Comments
 (0)