Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
b2ef4cb
Create dependabot.yml
JoShMiQueL Apr 15, 2025
c6a4eea
fix: update config and ci labels to use proper changed-files syntax
JoShMiQueL Apr 15, 2025
412462d
fix: replace deprecated fail_on_error with fail_level in biome action
JoShMiQueL Apr 15, 2025
c1043df
Merge pull request #17 from JoShMiQueL/labeler-fix
JoShMiQueL Apr 15, 2025
a7dd6c1
fix: set biome action fail_level to any
JoShMiQueL Apr 15, 2025
5380915
Merge branch 'main' into update-reviewdog
JoShMiQueL Apr 15, 2025
303b273
Merge pull request #18 from JoShMiQueL/update-reviewdog
JoShMiQueL Apr 15, 2025
b6885f0
Merge branch 'main' into JoShMiQueL-patch-1
JoShMiQueL Apr 15, 2025
1340d47
Merge pull request #16 from JoShMiQueL/JoShMiQueL-patch-1
JoShMiQueL Apr 15, 2025
becf796
build(deps): bump node-addon-api from 3.2.1 to 8.3.1
dependabot[bot] Apr 15, 2025
31e23b6
Merge pull request #19 from JoShMiQueL/dependabot/bun/node-addon-api-…
JoShMiQueL Apr 15, 2025
f2c3d15
feat: add CodeQL security analysis to version bump workflow
JoShMiQueL Apr 15, 2025
5a5a713
Merge pull request #20 from JoShMiQueL/update-bump-version-workflow
JoShMiQueL Apr 15, 2025
5237ec2
fix: set fetch-depth: 0 for full git history in version bump
JoShMiQueL Apr 15, 2025
ecc038c
Merge branch 'main' into update-bump-version-workflow
JoShMiQueL Apr 15, 2025
57a258f
Merge pull request #21 from JoShMiQueL/update-bump-version-workflow
JoShMiQueL Apr 15, 2025
a98a803
commit: refactor: update version bump workflow to use pull requests i…
JoShMiQueL Apr 15, 2025
971e672
Merge pull request #22 from JoShMiQueL/update-bump-action
JoShMiQueL Apr 15, 2025
753efd8
chore: standardize version prefix and remove redundant push in bump w…
JoShMiQueL Apr 15, 2025
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
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "bun" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
48 changes: 27 additions & 21 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,44 @@
typescript:
- '**/*.ts'
- changed-files:
any-glob-to-any-file: ['**/*.ts']

native:
- 'native/**/*'
- 'binding.gyp'
- changed-files:
any-glob-to-any-file: ['native/**/*', 'binding.gyp']

documentation:
- 'README.md'
- 'docs/**/*'
- changed-files:
any-glob-to-any-file: ['README.md', 'docs/**/*']

tests:
- 'test/**/*'
- changed-files:
any-glob-to-any-file: ['test/**/*']

examples:
- 'examples/**/*'
- changed-files:
any-glob-to-any-file: ['examples/**/*']

build:
- 'build.ts'
- 'build/**/*'
- 'tsconfig.json'
- changed-files:
any-glob-to-any-file: ['build.ts', 'build/**/*', 'tsconfig.json']

dependencies:
- 'package.json'
- 'bun.lock'
- changed-files:
any-glob-to-any-file: ['package.json', 'bun.lock']

config:
- 'config/**/*'
- '.gitignore'
- '.npmignore'
- '.gitattributes'
- 'lefthook.yml'
- 'biome.json'
- '.github/*'
- '.github/!(workflows)/**/*'
- changed-files:
any-glob-to-any-file: [
'config/**/*',
'.gitignore',
'.npmignore',
'.gitattributes',
'lefthook.yml',
'biome.json',
'.github/*',
'.github/!(workflows)/**/*'
]

ci:
- '.github/workflows/**/*'
- changed-files:
any-glob-to-any-file: ['.github/workflows/**/*']
24 changes: 21 additions & 3 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ permissions:
contents: write
pull-requests: write
packages: write

on:
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -67,15 +67,33 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Create branch
run: |
branch_name="bump/v${{ needs.prepare.outputs.next_version }}"
git checkout -b $branch_name

- name: Bump package
run: |
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
npm version ${{ inputs.bump_type }} --no-git-tag-version
git add package.json
git commit -m "chore: bump version to ${{ needs.prepare.outputs.next_version }}"
git push

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
title: "chore: bump version to v${{ needs.prepare.outputs.next_version }}"
body: |
Automated version bump to v${{ needs.prepare.outputs.next_version }}

This PR was automatically created by the version bump workflow.
branch: bump/v${{ needs.prepare.outputs.next_version }}
base: main
labels: bump

release-draft:
needs: [prepare, bump-package]
Expand All @@ -90,4 +108,4 @@ jobs:
draft: true
prerelease: ${{ inputs.bump_type == 'alpha' || inputs.bump_type == 'beta' }}
tag_name: v${{ needs.prepare.outputs.next_version }}
generate_release_notes: true
generate_release_notes: true
3 changes: 2 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ jobs:
- uses: mongolyy/reviewdog-action-biome@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
reporter: github-pr-review
fail_level: any
4 changes: 2 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"homepage": "https://github.com/JoShMiQueL/memoryjs#readme",
"dependencies": {
"node-addon-api": "3.2.1"
"node-addon-api": "8.3.1"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
Expand Down
Loading