Skip to content

Commit a744e56

Browse files
committed
require ECMA script 2020
1 parent eec680c commit a744e56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ jobs:
2929
- name: Install google-closure-compiler
3030
run: npm i -g google-closure-compiler
3131
- name: Minify jqClock.js to jqClock.min.js
32-
run: google-closure-compiler --js jqClock.js --js_output_file jqClock.min.js --language_in ECMASCRIPT_2019 --language_out ECMASCRIPT_2019
32+
run: google-closure-compiler --js jqClock.js --js_output_file jqClock.min.js --language_in ECMASCRIPT_2020 --language_out ECMASCRIPT_2020
3333
- name: Update jqClock-lite.js based on current jqClock.js
3434
run: |
3535
cp jqClock.js jqClock-lite.js
3636
perl -i -p0e 's/,\n options: \[\n(.*?)\n \}//s' jqClock-lite.js
3737
- name: Minify jqClock-lite.js to jqClock-lite.min.js
38-
run: google-closure-compiler --js jqClock-lite.js --js_output_file jqClock-lite.min.js --language_in ECMASCRIPT_2019 --language_out ECMASCRIPT_2019
38+
run: google-closure-compiler --js jqClock-lite.js --js_output_file jqClock-lite.min.js --language_in ECMASCRIPT_2020 --language_out ECMASCRIPT_2020
3939
- name: Create Pull Request for Master
4040
id: cpr-master
4141
uses: peter-evans/create-pull-request@v6

0 commit comments

Comments
 (0)