Skip to content

Commit

Permalink
Publich the package using the provenance flag (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
elchininet authored Dec 19, 2023
1 parent 551d0c8 commit b07fd9c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
deploy:
runs-on: ubuntu-20.04
permissions:
contents: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -26,7 +29,7 @@ jobs:
- name: Publish
run: |
yarn install --frozen-lockfile
npm publish
npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build Changelog
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [2.1.5] - 2023-12-19

- Publish the package using npm provenance

## [2.1.4] - 2023-12-16

- Update the `shadow-dom-selector` package to the latest version
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
],
"author": "ElChiniNet",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/elchininet/home-assistant-query-selector"
},
"scripts": {
"clean": "rm -rf dist .nyc_output coverage",
"build": "yarn clean && rollup --config rollup.config.js --bundleConfigAsCjs",
Expand Down

0 comments on commit b07fd9c

Please sign in to comment.