From 9ceb679c164e6a8ec604245810601baa793434b0 Mon Sep 17 00:00:00 2001 From: Billy Vong Date: Tue, 3 Mar 2020 10:10:49 -0800 Subject: [PATCH 1/3] ci(github): Add eslint action This reverts commit 9c88ad8bf66763700a11923dfbaa90d68275711f. Reverts https://github.com/getsentry/sentry/pull/15577 --- .github/workflows/eslint.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/eslint.yml diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml new file mode 100644 index 000000000000..4f1e0c11d561 --- /dev/null +++ b/.github/workflows/eslint.yml @@ -0,0 +1,21 @@ +name: javascript +on: push +jobs: + build: + name: eslint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: '10.x' + + - name: yarn install + run: yarn install + + - name: eslint + uses: getsentry/action-eslint@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + job-name: eslint From db537a0f9d93ceeee7bc92c94cdb07b3e127c4cb Mon Sep 17 00:00:00 2001 From: Billy Vong Date: Wed, 4 Mar 2020 09:09:40 -0800 Subject: [PATCH 2/3] Update .github/workflows/eslint.yml Co-Authored-By: Burak Yigit Kaya --- .github/workflows/eslint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 4f1e0c11d561..19598a178630 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -11,7 +11,7 @@ jobs: node-version: '10.x' - name: yarn install - run: yarn install + run: yarn install --frozen-lockfile - name: eslint uses: getsentry/action-eslint@v1 From 4d9c3b30bfdaa52b682d3ddce540734ab6b4b7b3 Mon Sep 17 00:00:00 2001 From: Billy Vong Date: Wed, 4 Mar 2020 09:38:40 -0800 Subject: [PATCH 3/3] Update .github/workflows/eslint.yml --- .github/workflows/eslint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 19598a178630..a8ba1549a62e 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -8,7 +8,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: - node-version: '10.x' + node-version: '10.16.3' - name: yarn install run: yarn install --frozen-lockfile