Skip to content

Commit f61121d

Browse files
authored
Merge pull request #47 from MFB-Technologies-Inc/33-resolve-pipeline-warnings
33 resolve pipeline warnings
2 parents 8ea289a + c0401bd commit f61121d

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
branches:
77
- main
88
pull_request:
9-
types: [opened, synchronize, reopened]
10-
9+
types: [opened, synchronize, reopened]
10+
1111
# Allows you to run this workflow manually from the Actions tab
1212
workflow_dispatch:
1313

@@ -16,30 +16,30 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Check out repository code
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
with:
2121
# Disabling shallow clone is recommended for improving relevancy of reporting
2222
fetch-depth: 0
23-
23+
2424
- name: Setup node
25-
uses: actions/setup-node@v3
26-
with:
27-
node-version: '16'
28-
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: "20"
28+
2929
- name: Install packages
3030
run: npm install
31-
31+
3232
- name: Check formatting
3333
run: npm run check-formatting
34-
34+
3535
- name: Build project and dependencies
3636
run: npm run build
37-
37+
3838
- name: Run unit tests and generate report
3939
run: npm run test:ci
40-
40+
4141
- name: SonarCloud Scan
4242
uses: sonarsource/sonarcloud-github-action@master
4343
env:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
45+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/publish.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: publish
22

33
# Run when a new Github publish is released
4-
on:
4+
on:
55
release:
66
types: [released]
77

@@ -10,24 +10,24 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check out repository code
13-
uses: actions/checkout@v3
14-
13+
uses: actions/checkout@v4
14+
1515
- name: Setup node
16-
uses: actions/setup-node@v3
17-
with:
18-
node-version: '16'
19-
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: "20"
19+
2020
- name: Install packages
2121
run: npm install
22-
22+
2323
- name: Build project and dependencies
2424
run: npm run build
25-
25+
2626
- name: Run unit tests and generate report
2727
run: npm run test:ci
2828

2929
- name: Publish package
30-
uses: JS-DevTools/npm-publish@v1
30+
uses: JS-DevTools/npm-publish@v3
3131
with:
3232
token: ${{ secrets.NPM_TOKEN }}
33-
access: "public"
33+
access: "public"

0 commit comments

Comments
 (0)