Skip to content

Commit

Permalink
Adjust github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
BartPlaza committed Sep 5, 2024
1 parent 332d69e commit 1cca6d4
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 115 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @thulium/frontend
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

11 changes: 0 additions & 11 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

22 changes: 0 additions & 22 deletions .github/dependabot.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_extends: github-internals
29 changes: 0 additions & 29 deletions .github/workflows/auto-merge.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/codeql.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Publish package

on:
release:
types:
- published

jobs:
publish-gpr:
runs-on:
group: thulium-ubuntu-runners
permissions:
packages: write
contents: read
steps:
- name: Checkout code
uses: actions/[email protected]

- name: Set up Node.js 18.13.0
uses: actions/[email protected]
with:
node-version: 20.17.0
registry-url: https://npm.pkg.github.com/

- name: Install dependencies
run: npm ci

- name: Build production
run: npm run release

- name: Publish package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
16 changes: 16 additions & 0 deletions .github/workflows/update-release-log.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Update Release Log

on:
push:
branches:
- main

permissions:
contents: read

jobs:
update-release-log:
permissions:
contents: write
uses: thulium/github-internals/.github/workflows/thulium-update-release-log.yml@main
secrets: inherit

0 comments on commit 1cca6d4

Please sign in to comment.