Skip to content

Commit

Permalink
Merge pull request #7 from simonireilly/release/0.0.2
Browse files Browse the repository at this point in the history
Create a stable release on version 0.0.2 of the library
  • Loading branch information
simonireilly authored Jun 9, 2022
2 parents da4707d + 72021d2 commit 2b7b1e1
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Node.js Package

on:
release:
types: [created]
types: [prereleased]

jobs:
publish-npm:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Node.js Package

on:
release:
types: [released]

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
cache: "yarn"

- run: yarn

- run: yarn build

- run: npm publish --tag latest
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,7 +1,7 @@
{
"name": "typeorm-erd",
"description": "",
"version": "0.0.1-beta.3",
"version": "0.0.2",
"author": "Simon Reilly",
"devDependencies": {
"@tsconfig/node16": "^1.0.2",
Expand Down

0 comments on commit 2b7b1e1

Please sign in to comment.