Skip to content

Commit f23e32c

Browse files
committed
merge main & delete release file
2 parents c8d34ed + 6e9d5f7 commit f23e32c

File tree

6 files changed

+518
-563
lines changed

6 files changed

+518
-563
lines changed

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ updates:
99
directory: "/" # Location of package manifests
1010
schedule:
1111
interval: "weekly"
12+
- package-ecosystem: "github-actions"
13+
directory: "/"
14+
schedule:
15+
# Check for updates to GitHub Actions every week
16+
interval: "weekly"

.github/workflows/ci.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
- 22.x
2626

2727
steps:
28-
- uses: actions/checkout@v2
28+
- uses: actions/checkout@v5
2929
- name: Use Node.js ${{ matrix.node-version }}
30-
uses: actions/setup-node@v1
30+
uses: actions/setup-node@v5
3131
with:
3232
node-version: ${{ matrix.node-version }}
3333
- run: npm ci
@@ -48,18 +48,19 @@ jobs:
4848
needs: build
4949
runs-on: ubuntu-latest
5050
steps:
51-
- uses: actions/download-artifact@v4
51+
- uses: actions/download-artifact@v5
5252
with:
5353
name: build
54-
- uses: actions/setup-node@v1
54+
- uses: actions/setup-node@v5
5555
with:
5656
node-version: 20.x
57-
- uses: rlespinasse/github-slug-action@v3.x
57+
- uses: rlespinasse/github-slug-action@v4.x
5858
- name: Append commit hash to package version
5959
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
6060
- name: Disable pre- and post-publish actions
6161
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
62-
- uses: JS-DevTools/npm-publish@v1
62+
- uses: JS-DevTools/npm-publish@v4
63+
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
6364
with:
6465
token: ${{ secrets.NPM_TOKEN }}
6566
tag: ${{ env.GITHUB_REF_SLUG }}
@@ -69,15 +70,16 @@ jobs:
6970
runs-on: ubuntu-latest
7071
if: github.ref == 'refs/heads/main'
7172
steps:
72-
- uses: actions/download-artifact@v4
73+
- uses: actions/download-artifact@v5
7374
with:
7475
name: build
75-
- uses: actions/setup-node@v1
76+
- uses: actions/setup-node@v5
7677
with:
7778
node-version: 20.x
7879
- name: Disable pre- and post-publish actions
7980
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
80-
- uses: JS-DevTools/npm-publish@v1
81+
- uses: JS-DevTools/npm-publish@v4
82+
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
8183
with:
8284
token: ${{ secrets.NPM_TOKEN }}
8385
tag: latest

.github/workflows/release.yml

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

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ lib
44
### VisualStudioCode Patch ###
55
# Ignore all local history of files
66
.history
7+
8+
src/versionInfo.ts

0 commit comments

Comments
 (0)