Compare commits
2 Commits
73f7c21815
...
aa6cc50948
| Author | SHA1 | Date | |
|---|---|---|---|
|
aa6cc50948
|
|||
|
b5f2e385ea
|
30
.github/workflows/publisher.yml
vendored
Normal file
30
.github/workflows/publisher.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
name: Publish to NPM
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '20'
|
||||||
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm install
|
||||||
|
|
||||||
|
- name: Publish to npm (Trusted Publishing)
|
||||||
|
run: npm publish --provenance --access public
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pulumi-extra-crds",
|
"name": "pulumi-extra-crds",
|
||||||
"version": "1.0.5",
|
"version": "1.0.6",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"generate": "node scripts/generate-crds.js",
|
"generate": "node scripts/generate-crds.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user