Skip to content

Commit 8ecaacb

Browse files
committed
Fixing publishing version
1 parent 557a4df commit 8ecaacb

File tree

5 files changed

+876
-3264
lines changed

5 files changed

+876
-3264
lines changed

.github/workflows/build.yml

+2-9
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,21 @@ jobs:
88

99
strategy:
1010
matrix:
11-
# the Node.js versions to build on
1211
node-version: [20.16.x, 22.5.x]
1312

1413
steps:
15-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1615

1716
- name: Use Node.js ${{ matrix.node-version }}
18-
uses: actions/setup-node@v2
17+
uses: actions/setup-node@v3
1918
with:
2019
node-version: ${{ matrix.node-version }}
2120

2221
- name: Install dependencies
2322
run: npm install
24-
env:
25-
CI: true
2623

2724
- name: Lint the project
2825
run: npm run lint
29-
env:
30-
CI: true
3126

3227
- name: Build the project
3328
run: npm run build
34-
env:
35-
CI: true

.github/workflows/publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
# Setup .npmrc file to publish to npm
13-
- uses: actions/setup-node@v2
13+
- uses: actions/setup-node@v3
1414
with:
15-
node-version: "16.x"
15+
node-version: "20.16.x"
1616
registry-url: "https://registry.npmjs.org"
1717
- run: npm ci
1818
- run: npm publish

0 commit comments

Comments
 (0)