Skip to content

Commit 525b948

Browse files
committed
Updated workflows to latest versions
1 parent 0903994 commit 525b948

File tree

6 files changed

+37
-21
lines changed

6 files changed

+37
-21
lines changed

.github/workflows/samples_foundations.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
# define the test matrix
2727
matrix:
2828
# selected operation systems to run CI
29-
os: [windows-latest, ubuntu-latest, macos-latest]
29+
os: [ubuntu-latest]
3030
# selected node version to run CI
31-
node-version: [14.x, 15.x]
31+
node-version: [16.x, 18.x]
3232

3333
steps:
34-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v3
3535
- name: Use Node.js ${{ matrix.node-version }}
36-
uses: actions/setup-node@v1
36+
uses: actions/setup-node@v3
3737
with:
3838
# use the node version defined in matrix above
3939
node-version: ${{ matrix.node-version }}

.github/workflows/samples_from_crud_to_event_sourcing.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,23 @@ jobs:
2020
build-and-test-code:
2121
name: Build application code
2222
# use system defined below in the tests matrix
23-
runs-on: ubuntu-latest
23+
runs-on: ${{ matrix.os }}
24+
25+
strategy:
26+
# define the test matrix
27+
matrix:
28+
# selected operation systems to run CI
29+
os: [ubuntu-latest]
30+
# selected node version to run CI
31+
node-version: [16.x, 18.x]
2432

2533
steps:
26-
- uses: actions/checkout@v2
27-
- name: Use Node.js Latest
34+
- uses: actions/checkout@v3
35+
- name: Use Node.js ${{ matrix.node-version }}
2836
uses: actions/setup-node@v3
2937
with:
3038
# use the node version defined in matrix above
31-
node-version: 16.x
39+
node-version: ${{ matrix.node-version }}
3240
# install dependencies
3341
- run: npm ci
3442
# run linting (ESlint and Prettier)

.github/workflows/samples_optimisticConcurrency.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
# selected operation systems to run CI
2525
os: [ubuntu-latest] #, windows-latest, macos-latest]
2626
# selected node version to run CI
27-
node-version: [15.x, 16.x]
27+
node-version: [16.x, 18.x]
2828

2929
steps:
30-
- uses: actions/checkout@v2
30+
- uses: actions/checkout@v3
3131
- name: Use Node.js ${{ matrix.node-version }}
32-
uses: actions/setup-node@v1
32+
uses: actions/setup-node@v3
3333
with:
3434
# use the node version defined in matrix above
3535
node-version: ${{ matrix.node-version }}

.github/workflows/samples_simple.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
# define the test matrix
2727
matrix:
2828
# selected operation systems to run CI
29-
os: [windows-latest, ubuntu-latest, macos-latest]
29+
os: [ubuntu-latest]
3030
# selected node version to run CI
31-
node-version: [14.x, 15.x]
31+
node-version: [16.x, 18.x]
3232

3333
steps:
3434
- uses: actions/checkout@v3
3535
- name: Use Node.js ${{ matrix.node-version }}
36-
uses: actions/setup-node@v1
36+
uses: actions/setup-node@v3
3737
with:
3838
# use the node version defined in matrix above
3939
node-version: ${{ matrix.node-version }}

.github/workflows/samples_snapshots.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
# selected operation systems to run CI
2727
os: [ubuntu-latest] #, windows-latest, macos-latest]
2828
# selected node version to run CI
29-
node-version: [14.x, 15.x]
29+
node-version: [16.x, 18.x]
3030

3131
steps:
32-
- uses: actions/checkout@v2
32+
- uses: actions/checkout@v3
3333
- name: Use Node.js ${{ matrix.node-version }}
34-
uses: actions/setup-node@v1
34+
uses: actions/setup-node@v3
3535
with:
3636
# use the node version defined in matrix above
3737
node-version: ${{ matrix.node-version }}

.github/workflows/samples_webinar.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,23 @@ jobs:
1818
build-and-test-code:
1919
name: Build application code
2020
# use system defined below in the tests matrix
21-
runs-on: ubuntu-latest
21+
runs-on: ${{ matrix.os }}
22+
23+
strategy:
24+
# define the test matrix
25+
matrix:
26+
# selected operation systems to run CI
27+
os: [ubuntu-latest] #, windows-latest, macos-latest]
28+
# selected node version to run CI
29+
node-version: [16.x, 18.x]
2230

2331
steps:
24-
- uses: actions/checkout@v2
25-
- name: Use Node.js Latest
32+
- uses: actions/checkout@v3
33+
- name: Use Node.js ${{ matrix.node-version }}
2634
uses: actions/setup-node@v3
2735
with:
2836
# use the node version defined in matrix above
29-
node-version: 18.x
37+
node-version: ${{ matrix.node-version }}
3038
# install dependencies
3139
- run: npm ci
3240
# run linting (ESlint and Prettier)

0 commit comments

Comments
 (0)