From b864100890c22c83248922889be4e8b64617a36e Mon Sep 17 00:00:00 2001 From: Faruk AYDIN Date: Tue, 1 Feb 2022 19:25:57 +0300 Subject: [PATCH] feat: Introduce github actions for the linter --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..0c5a6c76 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: Automatisch CI +on: [push] +jobs: + linter: + runs-on: ubuntu-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '16' + cache: 'yarn' + cache-dependency-path: yarn.lock + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - run: yarn install + - run: yarn lint + - run: echo "🍏 This job's status is ${{ job.status }}."