Skip to content

Commit 1cca6d4

Browse files
committed
Adjust github actions
1 parent 332d69e commit 1cca6d4

File tree

10 files changed

+52
-115
lines changed

10 files changed

+52
-115
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @thulium/frontend

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/release-drafter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_extends: github-internals

.github/workflows/auto-merge.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish package
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
publish-gpr:
10+
runs-on:
11+
group: thulium-ubuntu-runners
12+
permissions:
13+
packages: write
14+
contents: read
15+
steps:
16+
- name: Checkout code
17+
uses: actions/[email protected]
18+
19+
- name: Set up Node.js 18.13.0
20+
uses: actions/[email protected]
21+
with:
22+
node-version: 20.17.0
23+
registry-url: https://npm.pkg.github.com/
24+
25+
- name: Install dependencies
26+
run: npm ci
27+
28+
- name: Build production
29+
run: npm run release
30+
31+
- name: Publish package
32+
run: npm publish
33+
env:
34+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Update Release Log
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
update-release-log:
13+
permissions:
14+
contents: write
15+
uses: thulium/github-internals/.github/workflows/thulium-update-release-log.yml@main
16+
secrets: inherit

0 commit comments

Comments
 (0)