Skip to content

Commit fc8cdf3

Browse files
committed
[ci] Update ci
1 parent 230a17b commit fc8cdf3

5 files changed

Lines changed: 18 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout main
9-
uses: actions/checkout@v3
9+
uses: actions/checkout@v6
1010

1111
- name: npm install
1212
working-directory: ./typescript
@@ -45,10 +45,10 @@ jobs:
4545

4646
steps:
4747
- name: Checkout
48-
uses: actions/checkout@v3
48+
uses: actions/checkout@v6
4949

5050
- name: Set up Python ${{ matrix.python-version }}
51-
uses: actions/setup-python@v2
51+
uses: actions/setup-python@v5
5252
with:
5353
python-version: ${{ matrix.python-version }}
5454

.github/workflows/commit_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
2121
- name: Checkout (Pull Request)
2222
if: ${{ github.event_name == 'pull_request' }}
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v6
2424
with:
2525
ref: ${{ github.event.pull_request.head.sha }}
2626

@@ -33,7 +33,7 @@ jobs:
3333
3434
- name: Checkout (Push)
3535
if: ${{ github.event_name == 'push' }}
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v6
3737

3838
- name: Install gitcc
3939
working-directory: ./python

.github/workflows/deploy_gh_actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout main
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v6
1717
with:
1818
path: ${{ env.main_git_path }}
1919
- name: Checkout gh-actions
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v6
2121
with:
2222
ref: 'gh-actions'
2323
path: ${{ env.gh_actions_git_path }}

typescript/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ Thumbs.db
9797
# Ignore built ts files
9898
__tests__/runner/*
9999
lib/**/*
100-
dist/
100+
dist/

typescript/eslint.config.mjs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ export default [
4949
allowDefaultProject: [
5050
"__fixtures__/*.ts",
5151
"__tests__/*.ts",
52+
"example/simpleTag.mjs",
5253
"eslint.config.mjs",
53-
"jest.config.js",
54-
"rollup.config.ts"
54+
"jest.config.js"
5555
]
5656
},
5757
tsconfigRootDir: import.meta.dirname
@@ -76,6 +76,14 @@ export default [
7676
"no-console": "off",
7777
"no-shadow": "off",
7878
"no-unused-vars": "off",
79+
"@typescript-eslint/no-unused-vars": [
80+
"warn",
81+
{
82+
argsIgnorePattern: "^_",
83+
varsIgnorePattern: "^_",
84+
caughtErrorsIgnorePattern: "^_"
85+
}
86+
],
7987
"prettier/prettier": "error"
8088
}
8189
}

0 commit comments

Comments
 (0)