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

Commit

Permalink
chore: bump v1.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
maelgangloff committed Apr 28, 2023
1 parent 24800ca commit 02e1a0b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 14 deletions.
36 changes: 23 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
name: NPM Publish

name: Publish Package to npmjs
on:
release:
types: [created]

types: [published]
jobs:
publish:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
- run: yarn install
- run: yarn build
- run: npm publish --access public
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'

- name: Install Dependencies
run: yarn install

- name: Lint
run: npx eslint src/ --ext .ts

- name: Build
run: npx tsc

- name: Publish
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kdecole-api",
"version": "1.4.5",
"version": "1.4.6",
"main": "dist/index.js",
"types": "types/index.d.ts",
"bin": {
Expand Down

0 comments on commit 02e1a0b

Please sign in to comment.