Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency deno to v2 #171

Merged
merged 2 commits into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
50 changes: 25 additions & 25 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
name-template: "v$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"
categories:
- title: 'BREAKING CHANGES'
- title: "BREAKING CHANGES"
labels:
- 'BREAKING CHANGES'
- title: 'Features'
- "BREAKING CHANGES"
- title: "Features"
labels:
- 'feature'
- 'enhancement'
- title: 'Fixes'
- "feature"
- "enhancement"
- title: "Fixes"
labels:
- 'fix'
- 'bug'
- 'security'
- title: 'Dependencies'
- "fix"
- "bug"
- "security"
- title: "Dependencies"
collapse-after: 3
labels:
- 'dependencies'
- 'renovate'
- title: 'Documentation'
- "dependencies"
- "renovate"
- title: "Documentation"
labels:
- 'document'
- 'documentation'
- title: 'Internal improvement'
- "document"
- "documentation"
- title: "Internal improvement"
labels:
- 'ci'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
- "ci"
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
major:
labels:
- 'BREAKING CHANGES'
- "BREAKING CHANGES"
minor:
labels:
- 'feature'
- 'enhancement'
- "feature"
- "enhancement"
patch:
labels:
- 'bug'
- 'security'
- "bug"
- "security"
default: patch
template: |
## [v$RESOLVED_VERSION](https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION)
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
workflow_dispatch:

Expand Down Expand Up @@ -31,16 +31,16 @@ jobs:
- uses: ./.github/actions/setup-deno-with-cache
- name: Rebuild the dist/ directory
run: deno task bundle

# post processes
- name: Upload dist for post job
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: js_dist
path: |
dist/
action.yml
name: js_dist
path: |
dist/
action.yml
- name: Create dist/*.js size json
run: |
find ./dist -type f -printf '%s %f\n' \
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
run_self:
runs-on: ubuntu-latest
if: ${{ always() }}
needs: [ check, check-dist, test ]
needs: [check, check-dist, test]
steps:
- name: Download bundled dist
uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rebundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Rebundle dist

on:
push:
branches: [ "main" ]
branches: ["main"]
workflow_dispatch:

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ jobs:
ref: "${{ steps.release-drafter.outputs.tag_name }}"
- name: Update major and minor git tags
run: |
git push -f origin "refs/tags/${{ steps.release-drafter.outputs.tag_name }}:refs/tags/${{ steps.semver.outputs.major }}"
git push -f origin "refs/tags/${{ steps.release-drafter.outputs.tag_name }}:refs/tags/${{ steps.semver.outputs.minor }}"
git push -f origin "refs/tags/${{ steps.release-drafter.outputs.tag_name }}:refs/tags/${{ steps.semver.outputs.major }}"
git push -f origin "refs/tags/${{ steps.release-drafter.outputs.tag_name }}:refs/tags/${{ steps.semver.outputs.minor }}"
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
deno 1.46.3
deno 2.0.2
nodejs 20.18.0
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
# Register this action before your build step. It will then be executed at the end of the job post-processing.
- uses: Kesin11/actions-timeline@v2
with:
# e.g.: ${{ secrets.MY_PAT }}
# Default: ${{ github.token }}
github-token: ''
# Show waiting runner time in the timeline.
# Default: true
show-waiting-runner: true

# Your build steps...
# Register this action before your build step. It will then be executed at the end of the job post-processing.
- uses: Kesin11/actions-timeline@v2
with:
# e.g.: ${{ secrets.MY_PAT }}
# Default: ${{ github.token }}
github-token: ""
# Show waiting runner time in the timeline.
# Default: true
show-waiting-runner: true

# Your build steps...
```

If your workflow has many jobs, you should run `actions-timeline` in the job
Expand All @@ -38,12 +38,12 @@ jobs:
build-1:
build-2:
build-3:

actions-timeline:
needs: [build-1, build-2, build-3]
runs-on: ubuntu-latest
steps:
- uses: Kesin11/actions-timeline@v2
- uses: Kesin11/actions-timeline@v2
```

## How it works
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
actions: read
runs-on: ubuntu-latest
steps:
- uses: Kesin11/actions-timeline@v2
- uses: Kesin11/actions-timeline@v2
```

### 'Waiting for a runner' step is not supported < GHES v3.9
Expand Down