Skip to content

Commit

Permalink
chore: added pkg provenance support
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanga-Ganapathy committed Feb 2, 2024
1 parent b669527 commit fadf566
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 19 deletions.
5 changes: 5 additions & 0 deletions .changeset/pretty-walls-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@opentf/cli-styles': minor
---

Added pkg provenance support.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm install
- run: pnpm ci
- run: pnpm run ci
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,24 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
pull-requests: write
repository-projects: write
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 7
version: 8

- name: Setup Node.js 18.x
- name: Setup Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache: 'pnpm'

- name: Install Dependencies
Expand Down
13 changes: 4 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@
},
"license": "MIT",
"homepage": "",
"repository": {
"type": "git",
"url": "git+https://github.com/open-tech-foundation/js-cli-styles.git"
},
"repository": "git@github.com:Open-Tech-Foundation/js-cli-styles.git",
"type": "module",
"exports": {
".": {
Expand All @@ -34,9 +31,6 @@
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"dev": "tsup --watch",
"build": "tsup",
Expand Down Expand Up @@ -80,9 +74,10 @@
"typescript": "^5.1.3"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"dependencies": {
"@opentf/utils": "^0.20.0"
"@opentf/utils": "^0.22.0"
}
}
13 changes: 8 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fadf566

Please sign in to comment.