File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,11 +10,14 @@ jobs:
1010 runs-on : ubuntu-latest
1111 permissions :
1212 contents : write
13+ id-token : write
14+ attestations : write
15+
1316 steps :
14- - uses : actions/checkout@v3
17+ - uses : actions/checkout@v4
1518
1619 - name : Use Node.js
17- uses : actions/setup-node@v3
20+ uses : actions/setup-node@v4
1821 with :
1922 node-version : " 18.x"
2023
2326 npm install
2427 npm run build
2528
29+ - name : Generate artifact attestations
30+ uses : actions/attest@v4
31+ with :
32+ subject-path : |
33+ main.js
34+ manifest.json
35+ styles.css
36+
2637 - name : Create release
2738 env :
2839 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11import esbuild from "esbuild" ;
22import process from "process" ;
3- import builtins from "builtin-modules" ;
43
54const banner =
65`/*
@@ -31,7 +30,7 @@ const context = await esbuild.context({
3130 "@lezer/common" ,
3231 "@lezer/highlight" ,
3332 "@lezer/lr" ,
34- ... builtins ] ,
33+ ] ,
3534 format : "cjs" ,
3635 target : "es2018" ,
3736 logLevel : "info" ,
Original file line number Diff line number Diff line change 1717 "@types/turndown" : " ^5.0.5" ,
1818 "@typescript-eslint/eslint-plugin" : " 5.29.0" ,
1919 "@typescript-eslint/parser" : " 5.29.0" ,
20- "builtin-modules" : " 3.3.0" ,
2120 "esbuild" : " 0.25.0" ,
2221 "obsidian" : " latest" ,
2322 "tslib" : " 2.4.0" ,
You can’t perform that action at this time.
0 commit comments