Fix workflow file

This commit is contained in:
Oliver Walters 2021-08-30 21:16:54 +10:00
parent 9781d585b0
commit fc125ca20c

View File

@ -25,9 +25,7 @@ jobs:
steps: steps:
- name: Install node.js - name: Install node.js
uses: actions/setup-node@v2 uses: actions/setup-node@v2
- run: | - run: npm install
npm install
npm install eslint eslint-config-google
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Setup Python - name: Setup Python
@ -47,5 +45,6 @@ jobs:
python check_js_templates.py python check_js_templates.py
- name: Lint Javascript Files - name: Lint Javascript Files
run: | run: |
npm install eslint eslint-config-google
invoke render-js-files invoke render-js-files
npx eslint js_tmp/*.js npx eslint js_tmp/*.js