Skip to content

Commit

Permalink
require ECMA script 2020
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Mar 17, 2024
1 parent eec680c commit a744e56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Expand Up @@ -29,13 +29,13 @@ jobs:
- name: Install google-closure-compiler
run: npm i -g google-closure-compiler
- name: Minify jqClock.js to jqClock.min.js
run: google-closure-compiler --js jqClock.js --js_output_file jqClock.min.js --language_in ECMASCRIPT_2019 --language_out ECMASCRIPT_2019
run: google-closure-compiler --js jqClock.js --js_output_file jqClock.min.js --language_in ECMASCRIPT_2020 --language_out ECMASCRIPT_2020
- name: Update jqClock-lite.js based on current jqClock.js
run: |
cp jqClock.js jqClock-lite.js
perl -i -p0e 's/,\n options: \[\n(.*?)\n \}//s' jqClock-lite.js
- name: Minify jqClock-lite.js to jqClock-lite.min.js
run: google-closure-compiler --js jqClock-lite.js --js_output_file jqClock-lite.min.js --language_in ECMASCRIPT_2019 --language_out ECMASCRIPT_2019
run: google-closure-compiler --js jqClock-lite.js --js_output_file jqClock-lite.min.js --language_in ECMASCRIPT_2020 --language_out ECMASCRIPT_2020
- name: Create Pull Request for Master
id: cpr-master
uses: peter-evans/create-pull-request@v6
Expand Down

0 comments on commit a744e56

Please sign in to comment.