Skip to content

Commit b35e90a

Browse files
committed
move to @ILPT namespace
1 parent c09e744 commit b35e90a

File tree

3 files changed

+11
-47
lines changed

3 files changed

+11
-47
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -15,48 +15,7 @@ on:
1515

1616
jobs:
1717
build_and_publish:
18-
runs-on: ubuntu-latest
19-
permissions:
20-
contents: write
21-
22-
steps:
23-
- name: Checkout 💼
24-
uses: actions/checkout@v4
25-
26-
- name: Install Node.js 🧩
27-
uses: actions/setup-node@v4
28-
with:
29-
node-version: '20'
30-
31-
- name: Check for critical vulnerabilities 🔎
32-
run: npm audit --audit-level critical --omit=dev
33-
34-
- name: Install dependencies 📦
35-
run: npm ci
36-
37-
- name: Run tests 🧪
38-
run: npm test
39-
40-
- name: Build 🏗️
41-
run: npm run build
42-
43-
- name: Bump version 📈
44-
id: version
45-
run: |
46-
git config --local user.email "[email protected]"
47-
git config --local user.name "GitHub Action"
48-
NEW_VERSION=$(npm version ${{ inputs.version }} --message $'Update version to %s\n\nAutomated version bump by GitHub Action.')
49-
git push --follow-tags --no-verify
50-
echo "new-version=${NEW_VERSION}" >> $GITHUB_OUTPUT
51-
if: inputs.version && inputs.version != 'none'
52-
53-
- name: Set up NPM 🔑
54-
run: npm config set '//registry.npmjs.org/:_authToken' "${{ secrets.NPM_TOKEN }}"
55-
56-
- name: Publish 🚀
57-
run: npm publish --access public
58-
59-
- name: Create release ⛩️
60-
uses: softprops/action-gh-release@v2
61-
with:
62-
tag_name: ${{ steps.version.outputs.new-version }}
18+
uses: infinitaslearning/workflow-publish-public-module/.github/workflows/publish-module.yaml@v1
19+
with:
20+
version: ${{ inputs.version }}
21+
secrets: inherit

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
### What's changed
2+
3+
- Initial release
4+
5+
---

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "systemic-ts-service-runner",
3-
"version": "1.0.1",
2+
"name": "@ilpt/systemic-ts-service-runner",
3+
"version": "0.0.0",
44
"description": "Service runner for systemic-ts",
55
"types": "dist/index.d.ts",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)