Skip to content

Commit

Permalink
chore(release): v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Elad Ben-Israel committed Dec 14, 2020
1 parent 2c342e1 commit 13d2cc3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,18 @@ jobs:
with:
name: dist
path: dist
release_npm:
name: Release to NPM
needs: build
runs-on: ubuntu-latest
steps:
- name: Download build artifacts
uses: actions/download-artifact@v1
with:
name: dist
- name: Release
run: npx -p jsii-release jsii-release-npm
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_DIST_TAG: latest
NPM_REGISTRY: registry.npmjs.org
1 change: 1 addition & 0 deletions .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const project = new TypeScriptProject({
name: 'cfn-resources',
devDeps: ['prettier'],
defaultReleaseBranch: 'main',
releaseToNpm: true,
bin: {
'cfn-resources': 'lib/cli.js',
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"keywords": [],
"main": "lib/index.js",
"license": "Apache-2.0",
"version": "0.0.0",
"version": "1.0.0",
"jest": {
"clearMocks": true,
"collectCoverage": true,
Expand Down

0 comments on commit 13d2cc3

Please sign in to comment.