Skip to content

Commit 5ec68ad

Browse files
committed
Updated dependencies, node, pipelines and comments
1 parent 7b432a5 commit 5ec68ad

File tree

12 files changed

+689
-338
lines changed

12 files changed

+689
-338
lines changed

.github/workflows/create-indexes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
# Steps represent a sequence of tasks that will be executed as part of the job
2424
steps:
25-
- name: Checkout Repository
25+
- name: 📦 Checkout Repository
2626
uses: actions/checkout@v3
2727

2828
# Runs a single command using the runners shell

.github/workflows/dependabot.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
name: Dependabot auto-merge
2-
on: pull_request_target
2+
on: pull_request
33

44
permissions:
5-
pull-requests: write
65
contents: write
7-
8-
concurrency:
9-
group: dependabot-check
10-
cancel-in-progress: false
6+
pull-requests: write
117

128
jobs:
139
dependabot:
14-
name: Dependabot auto merge
1510
runs-on: ubuntu-latest
1611
if: ${{ github.actor == 'dependabot[bot]' }}
1712
steps:
13+
- name: Dependabot metadata
14+
id: metadata
15+
uses: dependabot/fetch-metadata@v1
16+
with:
17+
github-token: "${{ secrets.GITHUB_TOKEN }}"
18+
1819
- name: Enable auto-merge for Dependabot PRs
1920
run: gh pr merge --auto --merge "$PR_URL"
2021
env:

.github/workflows/npm-publish.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,46 +20,38 @@ jobs:
2020
os: [ubuntu-latest, windows-latest, macOS-latest]
2121

2222
steps:
23-
- name: Checkout Repository
23+
- name: 📦 Checkout Repository
2424
uses: actions/checkout@v3
2525

26-
- name: Setup Node.js Environment
26+
- name: 🏗️ Setup Node.js Environment
2727
uses: actions/setup-node@v3
2828
with:
2929
cache: npm
3030
cache-dependency-path: package-lock.json
3131
node-version-file: .nvmrc
3232

33-
- name: Setup project
33+
- name: 🏗️ Setup project
3434
run: npm ci
3535

3636
- name: 📋 Run Tests
3737
run: npm run test
3838

39-
- name: 📋 Test Reporter
40-
if: ${{ always() }}
41-
uses: dorny/test-reporter@v1
42-
with:
43-
name: 📋 Unit Test
44-
reporter: jest-junit
45-
path: "**/junit.xml"
46-
4739
publish-npm:
4840
needs: test
4941
runs-on: ubuntu-latest
5042
name: 🚚 Npm Publish
5143
steps:
52-
- name: Checkout Repository
44+
- name: 📦 Checkout Repository
5345
uses: actions/checkout@v3
5446

55-
- name: Setup Node.js Environment
47+
- name: 🏗️ Setup Node.js Environment
5648
uses: actions/setup-node@v3
5749
with:
5850
cache: npm
5951
cache-dependency-path: package-lock.json
6052
node-version-file: .nvmrc
6153

62-
- name: Setup Project
54+
- name: 🏗️ Setup project
6355
run: npm ci
6456

6557
- name: 🚚 Npm Publish

.github/workflows/npm-test.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,18 @@ jobs:
2020
os: [ubuntu-latest, windows-latest, macOS-latest]
2121

2222
steps:
23-
- name: Checkout Repository
23+
- name: 📦 Checkout Repository
2424
uses: actions/checkout@v3
2525

26-
- name: Setup Node.js Environment
26+
- name: 🏗️ Setup Node.js Environment
2727
uses: actions/setup-node@v3
2828
with:
2929
cache: npm
3030
cache-dependency-path: package-lock.json
3131
node-version-file: .nvmrc
3232

33-
- name: Setup project
33+
- name: 🏗️ Setup project
3434
run: npm ci
3535

3636
- name: 📋 Run Tests
3737
run: npm run test
38-
39-
- name: 📋 Test Reporter
40-
if: ${{ always() }}
41-
uses: dorny/test-reporter@v1
42-
with:
43-
name: 📋 Unit Test
44-
reporter: jest-junit
45-
path: "**/junit.xml"

.mocharc.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,5 @@
33
"extension": ["ts"],
44
"ui": "bdd",
55
"recursive": true,
6-
"require": "ts-node/register",
7-
"reporter": "mocha-junit-reporter",
8-
"reporterOptions": ["mochaFile=./reports/junit.xml"]
6+
"require": "ts-node/register"
97
}
10-

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16
1+
v18

0 commit comments

Comments
 (0)