Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

Commit 02e1a0b

Browse files
committed
chore: bump v1.4.6
1 parent 24800ca commit 02e1a0b

File tree

2 files changed

+24
-14
lines changed

2 files changed

+24
-14
lines changed

.github/workflows/publish.yml

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,30 @@
1-
name: NPM Publish
2-
1+
name: Publish Package to npmjs
32
on:
43
release:
5-
types: [created]
6-
4+
types: [published]
75
jobs:
8-
publish:
6+
build:
97
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
10+
id-token: write
1011
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v1
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
1314
with:
14-
node-version: "16.x"
15-
registry-url: "https://registry.npmjs.org"
16-
- run: yarn install
17-
- run: yarn build
18-
- run: npm publish --access public
15+
node-version: '18.x'
16+
registry-url: 'https://registry.npmjs.org'
17+
18+
- name: Install Dependencies
19+
run: yarn install
20+
21+
- name: Lint
22+
run: npx eslint src/ --ext .ts
23+
24+
- name: Build
25+
run: npx tsc
26+
27+
- name: Publish
28+
run: npm publish --provenance --access public
1929
env:
20-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
30+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kdecole-api",
3-
"version": "1.4.5",
3+
"version": "1.4.6",
44
"main": "dist/index.js",
55
"types": "types/index.d.ts",
66
"bin": {

0 commit comments

Comments
 (0)