Skip to content

Commit

Permalink
chore(ci): enable npm package provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
ltm committed Apr 25, 2023
1 parent b07d30e commit 2a3255d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm publish --provenance
env:
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": "@ionic/prettier-config",
"version": "2.1.0",
"version": "2.1.1",
"description": "Prettier config for Ionic and Capacitor",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 2a3255d

Please sign in to comment.