From 68e70bcfff3746bc5c3f6d6d704b0f710951323a Mon Sep 17 00:00:00 2001 From: "alex.hill@gmail.com" Date: Mon, 1 Jul 2024 15:36:08 +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..0415c52 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: 🔨 Build + +on: + push: + branches: + - main + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + lint: + name: 🔨 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: 🔨 Build + run: npm run build