Skip to content

Commit f8ef729

Browse files
committed
chore: small changes
1 parent ea13797 commit f8ef729

File tree

2 files changed

+13
-19
lines changed

2 files changed

+13
-19
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,14 @@ jobs:
1414

1515
runs-on: ubuntu-latest
1616

17-
strategy:
18-
matrix:
19-
node-version: [16.x]
20-
2117
steps:
22-
- uses: actions/checkout@v2
23-
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v2
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-node@v4
2520
with:
26-
node-version: ${{ matrix.node-version }}
27-
- run: npm i
28-
- run: npm run ci
21+
node-version: '18.x'
22+
- run: |
23+
npm i
24+
npm run ci
2925
- uses: codecov/codecov-action@v4
3026
with:
3127
token: ${{ secrets.CODECOV_TOKEN }} # required

.github/workflows/publish.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,14 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v2
14-
- name: Setup Node
15-
uses: actions/setup-node@v2
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1614
with:
17-
node-version: '16.x'
15+
node-version: '18.x'
1816
registry-url: 'https://registry.npmjs.org'
19-
- name: Install dependencies and build
20-
run: npm install && npm run build
21-
- name: Publish package on NPM
22-
run: npm publish
17+
- run: |
18+
npm i
19+
npm run build
20+
- run: npm publish
2321
env:
2422
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)