From 24c338ca49e2f7124616fcdd30d74a58758ea2b0 Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Fri, 8 Oct 2021 22:50:49 +0100 Subject: [PATCH] actions: Add build and lint Closes #512 --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 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..6c9c0f4f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: Build and Lint + +on: + pull_request: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2.3.4 + - name: Setup Node.js + uses: actions/setup-node@v2.4.1 + with: + cache: "yarn" + - run: yarn install --prefer-offline + - run: yarn build + - run: yarn lint --no-fix