Skip to content

Commit dba009e

Browse files
committed
chore: update github actions
1 parent 891208a commit dba009e

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ jobs:
4141

4242
steps:
4343
- name: Checkout repository
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v5
4545

4646
# Initializes the CodeQL tools for scanning.
4747
- name: Initialize CodeQL
48-
uses: github/codeql-action/init@v2
48+
uses: github/codeql-action/init@v4
4949
with:
5050
languages: ${{ matrix.language }}
5151
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -56,7 +56,7 @@ jobs:
5656
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5757
# If this step fails, then you should remove it and run the build manually (see below)
5858
- name: Autobuild
59-
uses: github/codeql-action/autobuild@v2
59+
uses: github/codeql-action/autobuild@v4
6060

6161
# ℹ️ Command-line programs to run using the OS shell.
6262
# 📚 https://git.io/JvXDl
@@ -70,4 +70,4 @@ jobs:
7070
# make release
7171

7272
- name: Perform CodeQL Analysis
73-
uses: github/codeql-action/analyze@v2
73+
uses: github/codeql-action/analyze@v4

.github/workflows/publish.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- v*
66

77
permissions:
8+
id-token: write
89
contents: read
910

1011
jobs:
@@ -15,14 +16,12 @@ jobs:
1516
needs: tests
1617
runs-on: ubuntu-latest
1718
steps:
18-
- uses: actions/checkout@v3
19-
- uses: actions/setup-node@v3
19+
- uses: actions/checkout@v5
20+
- uses: actions/setup-node@v6
2021
with:
2122
node-version: '18.x'
2223
registry-url: 'https://registry.npmjs.org'
23-
- run: yarn install
24+
- run: npm install
2425
- run: cd src && tsc
2526
- run: cp ./README.md ./src/README.md
2627
- run: cd src && npm publish
27-
env:
28-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
pull-requests: write
2222

2323
steps:
24-
- uses: actions/stale@v7
24+
- uses: actions/stale@v10
2525
with:
2626
repo-token: ${{ secrets.GITHUB_TOKEN }}
2727
stale-issue-message: 'Stale issue message'

.github/workflows/tests.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@ jobs:
1212
linting:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/setup-python@v4
15+
- uses: actions/checkout@v5
16+
- uses: actions/setup-python@v6
1717
with:
1818
python-version: '3.11'
1919
- name: Install pre-commit
2020
run: pip install pre-commit
2121
- name: Run pre-commit
2222
run: pre-commit run --all-files
23-
23+
2424
unittests:
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@v3
28-
- uses: actions/setup-node@v3
27+
- uses: actions/checkout@v5
28+
- uses: actions/setup-node@v6
2929
with:
3030
node-version: '18.x'
3131
registry-url: 'https://registry.npmjs.org'
32-
- run: yarn install
33-
- run: yarn test
32+
- run: npm install
33+
- run: npm run test
3434
- run: cd src && tsc

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
node_modules
22
.venv
3+
.vscode
34
dist
45
.idea
56
log.txt
@@ -16,4 +17,4 @@ yarn-error.log
1617
!.yarn/plugins
1718
!.yarn/releases
1819
!.yarn/sdks
19-
!.yarn/versions
20+
!.yarn/versions

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"scripts": {
1616
"test": "ts-jest",
17-
"start": "yarn run start"
17+
"start": "vite"
1818
},
1919
"repository": {
2020
"type": "git",

0 commit comments

Comments
 (0)