Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# This CI triggered on PRs.
#
# Verify if `npm run build:dist` pass
#
on:
- pull_request

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: "https://npm.pkg.github.com"
- run: npm install
- run: npm run prepublish
20 changes: 4 additions & 16 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
node-version: "18.x"
registry-url: "https://npm.pkg.github.com"
scope: "@lensapp"
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

notify:
needs: publish-npm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
cache: 'npm'
- run: npm install -g @s3pweb/release-message-creator
- run: create-release-message -m "Publication de @s3pweb/keycloak-admin-client-cjs, version %s :" -w ${{secrets.DISCORD_WEBHOOK_LIBS}}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24 changes: 0 additions & 24 deletions .github/workflows/release.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/commit-msg

This file was deleted.

15 changes: 0 additions & 15 deletions .versionrc

This file was deleted.

1 change: 0 additions & 1 deletion commitlint.config.js

This file was deleted.

Loading