12 Commits

Author SHA1 Message Date
f2fb306124 fix(publish-npm): use github provider because the PROVENANCE require github self hosted runner 2025-10-04 07:47:01 +03:30
1fe34245e3 ci: disable package manager cache tmp 2025-09-27 08:46:40 +00:00
dependabot[bot]
9c20c5bc92 deps(deps): bump actions/setup-node from 4 to 5 in the github-actions group (#8)
deps(deps): bump actions/setup-node in the github-actions group

Bumps the github-actions group with 1 update: [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/setup-node` from 4 to 5
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-27 10:07:07 +03:30
blacksmith-sh[bot]
61ada6397e .github/workflows: Migrate workflows to Blacksmith runners (#9)
Migrate workflows to Blacksmith

Co-authored-by: blacksmith-sh[bot] <157653362+blacksmith-sh[bot]@users.noreply.github.com>
2025-09-27 08:12:29 +03:30
Nexim Bot
bf6971e1af Revert "deps(deps): bump actions/setup-node from 4 to 5 in the github-actions group" (#7) 2025-09-08 13:29:09 +03:30
Nexim Bot
3bc559e467 Revert "deps(deps): bump actions/setup-node from 4 to 5 in the github-actions…"
This reverts commit 1660ce4e02.
2025-09-08 13:28:57 +03:30
dependabot[bot]
1660ce4e02 deps(deps): bump actions/setup-node from 4 to 5 in the github-actions group (#6)
deps(deps): bump actions/setup-node in the github-actions group

Bumps the github-actions group with 1 update: [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/setup-node` from 4 to 5
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-06 12:08:17 +03:30
dependabot[bot]
0d2de95d88 deps(deps): bump actions/checkout from 4 to 5 in the github-actions group (#5)
deps(deps): bump actions/checkout in the github-actions group

Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-18 08:02:11 +03:30
9941d2fc6b feat(build-lint-test): add caching for .cache folders 2025-05-07 08:31:43 +03:30
b00b7468a1 fix: correctly set RELEASER_ACCOUNT_TOKEN 2025-01-04 09:00:32 +03:30
166fa43a55 refactor: enhancement and documenting 2025-01-04 08:48:18 +03:30
c032870efb feat: add sync label 2025-01-04 08:30:20 +03:30
6 changed files with 76 additions and 36 deletions

View File

@@ -2,6 +2,10 @@
name: Build, Lint, and Test Project
# Required permission on the caller workflow
# permissions:
# contents: read
on:
workflow_call:
inputs:
@@ -11,22 +15,20 @@ on:
default: 'lts/*'
type: string
permissions:
contents: read
jobs:
main:
name: Build, Lint, and Test Project
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: 🔧 Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: ${{ inputs.NODE_VERSION }}
node-version: ${{ inputs.node-version }}
package-manager-cache: false
- name: 🛠️ Setup Node.js Corepack
run: corepack enable
@@ -43,6 +45,14 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: 🗂️ Cache .cache folders
uses: actions/cache@v4
with:
path: packages/**/.cache
key: ${{ runner.os }}-cache
restore-keys: |
${{ runner.os }}-cache-
- name: 📥 Install Dependencies
run: yarn install --immutable

View File

@@ -2,18 +2,19 @@
name: CodeQL
# Required permission on the caller workflow
# permissions:
# actions: read
# contents: read
# security-events: write
on:
workflow_call:
permissions:
actions: read
contents: read
security-events: write
jobs:
main:
name: CodeQL Analyze
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
strategy:
fail-fast: false
@@ -23,7 +24,7 @@ jobs:
steps:
- name: ⤵️ Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: 🏗 Initialize CodeQL
uses: github/codeql-action/init@v3

View File

@@ -2,6 +2,10 @@
name: Dependency Review
# Required permission on the caller workflow
# permissions:
# contents: read
on:
workflow_call:
inputs:
@@ -16,17 +20,14 @@ on:
type: string
default: 'next'
permissions:
contents: read
jobs:
main:
name: Dependency Review
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
steps:
- name: ⤵️ Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: 🚀 Dependency Review
uses: actions/dependency-review-action@v4

View File

@@ -2,6 +2,11 @@
name: Publish NPM
# Required permission on the caller workflow
# permissions:
# contents: read
# id-token: write
on:
workflow_call:
inputs:
@@ -20,10 +25,6 @@ on:
required: true
description: 'NPM token'
permissions:
contents: read
id-token: write
jobs:
main:
if: github.repository_owner == 'the-nexim'
@@ -33,13 +34,14 @@ jobs:
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: 🔧 Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: ${{ inputs.node-version }}
registry-url: ${{ inputs.npm-registry-url }}
package-manager-cache: false
- name: 🛠️ Setup Node.js Corepack
run: corepack enable

View File

@@ -2,6 +2,10 @@
name: Build & Lint & Test & Release
# Required permission on the caller workflow
# permissions:
# contents: write
on:
workflow_call:
inputs:
@@ -11,30 +15,27 @@ on:
default: 'lts/*'
type: string
secrets:
RELEASER_ACCOUNT_TOKEN:
required: true
description: 'GitHub token for the releaser account'
GPG_KEY_ID:
required: true
description: 'GPG key ID'
BOT_TOKEN:
required: true
description: 'Nexim Bot token'
GPG_PRIVATE_KEY:
required: true
description: 'GPG private key'
permissions:
contents: write
jobs:
main:
name: Build & Lint & Test & Release
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2404
steps:
- name: ⤵️ Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
token: ${{ secrets.BOT_TOKEN }}
token: ${{ secrets.RELEASER_ACCOUNT_TOKEN }}
- name: 🙂‍↔️ Import GPG key
run: |
@@ -54,9 +55,10 @@ jobs:
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
- name: 🔧 Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: ${{ inputs.node-version }}
package-manager-cache: false
- name: 🛠️ Setup Node.js Corepack
run: corepack enable
@@ -94,5 +96,5 @@ jobs:
- name: 🤖 Get Release
run: yarn lerna version --yes
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RELEASER_ACCOUNT_TOKEN }}
WIREIT_LOGGER: metrics

24
.github/workflows/sync-label.yaml vendored Normal file
View File

@@ -0,0 +1,24 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Sync labels
# Required permission on the caller workflow
# permissions:
# contents: read
# issues: write
on:
workflow_call:
jobs:
main:
name: Sync labels
runs-on: blacksmith-2vcpu-ubuntu-2404
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v5
- name: 🚀 Run Label Syncer
uses: micnncim/action-label-syncer@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}