Skip to content

Commit

Permalink
Publish beta tag for the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
simonireilly committed Jun 9, 2022
1 parent c268379 commit 0ff2646
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 18 deletions.
24 changes: 7 additions & 17 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,23 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Package

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm test

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

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

- run: yarn build

- run: npm publish --tag beta
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
. "$(dirname "$0")/_/husky.sh"

yarn test
yarn examples
yarn fmt
3 changes: 2 additions & 1 deletion examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ erDiagram
}
comment }|--|| user: author
```

## Join Table

```mermaid
Expand All @@ -35,6 +35,7 @@ erDiagram
product ||--|{ product_tag: tags
```


## Carts

```mermaid
Expand Down

0 comments on commit 0ff2646

Please sign in to comment.