From 474b16e661de69ba2e2c3496e38fb2453896be21 Mon Sep 17 00:00:00 2001 From: "alex.hill@gmail.com" Date: Mon, 1 Jul 2024 15:34:30 +0100 Subject: [PATCH] add build action --- .github/workflows/build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..e4b11af --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: ":hammer: Build" + +on: + push: + branches: + - main + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + lint: + name: ":hammer: Build" + runs-on: ubuntu-latest + steps: + - name: ⬇️ Checkout repo + uses: actions/checkout@v4 + + - name: ⎔ Setup node + uses: actions/setup-node@v4 + + - name: 📥 Install deps + run: npm install --frozen-lockfile + + - name: ":hammer: Build" + run: npm run build