Skip to content

Commit

Permalink
Adds an E2E test for ESLint (#382)
Browse files Browse the repository at this point in the history
* Adds an E2E test for ESLint

* Fixes syntax
  • Loading branch information
arcanis committed Aug 23, 2019
1 parent 20ea563 commit 6a2a956
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/e2e-eslint-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
on:
- push

name: 'E2E ESLint'
jobs:
chore:
name: 'Validating ESLint'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- name: 'Use Node.js 10.x'
uses: actions/setup-node@master
with:
version: 10.x

- name: 'Build the standard bundle'
run: |
node ./scripts/run-yarn.js build:cli
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
yarn init -p
yarn add eslint
echo '{"rules": {"semi": ["error", "always"]}}' > .eslintrc
echo '42;' > ok.js
yarn eslint ok.js
echo '42' > ko.js
! yarn eslint ko.js

0 comments on commit 6a2a956

Please sign in to comment.