woocommerce/plugins/woocommerce-admin/.github/workflows/lint-test-js.yml

21 lines
611 B
YAML

name: Lint and test JS
on: [pull_request]
jobs:
test-lint-js:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.7.0
with:
access_token: ${{ github.token }}
- name: Check out repository code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2.1.4
with:
node-version: '14'
- name: Lint and test the JS
run: bin/js_lint_test.sh
shell: bash