Skip to content

Commit 37177cc

Browse files
committed
Fix build
1 parent edb2f68 commit 37177cc

File tree

3 files changed

+36
-7
lines changed

3 files changed

+36
-7
lines changed

.github/workflows/build-release.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,12 @@ jobs:
3636
with:
3737
node-version: 20
3838

39-
- uses: actions/download-artifact@v5
39+
- uses: actions/checkout@v5
4040
with:
41-
name: release
42-
43-
- name: unzip artifact for deployment
44-
run: |
45-
unzip release.zip
46-
rm release.zip
41+
token: ${{ secrets.ASSETS_COMMIT_TOKEN }}
42+
ref: ${{ github.head_ref || github.ref_name }}
43+
# Full git history is needed to get a proper list of changed files within `super-linter`
44+
fetch-depth: 0
4745

4846
- name: Install & build assets
4947
run: |

tools/linters/.stylelintrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"rules": {
3+
}
4+
}

tools/linters/eslint.config.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// eslint.config.js
2+
const { defineConfig } = require("eslint/config");
3+
4+
module.exports = defineConfig([
5+
{
6+
ignores: [
7+
"!/tools/linters/eslint.config.js",
8+
"!/tools/linters/.stylelintrc.json",
9+
"!/.ncurc.js",
10+
"!/js/**",
11+
"!/css/**",
12+
"!/webfonts/**",
13+
"!/icons/**"
14+
],
15+
languageOptions: {
16+
ecmaVersion: 2015,
17+
sourceType: "module"
18+
},
19+
files: [
20+
"resources/**.js",
21+
],
22+
rules: {
23+
semi: "error",
24+
"prefer-const": "error"
25+
}
26+
}
27+
]);

0 commit comments

Comments
 (0)