From 03796de4fa6534ed3cf07ff1d898cb272591f275 Mon Sep 17 00:00:00 2001 From: Maximilian Koeller Date: Mon, 23 Dec 2024 11:11:14 +0100 Subject: [PATCH] build(ci): introduce initial GitHub actions workflow A simple workflow that just verifies the code and builds it. --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..afd82c1 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: Build + +on: + push: + branches: + - main + pull_request: +jobs: + build-and-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Use Node.js 22.x + uses: actions/setup-node@v4 + with: + node-version: 22.x + cache: 'npm' + - run: npm ci + - run: npm run build + - run: npm run format:check + - run: npm run lint:commit + - run: npm run lint + - run: npm run plugin:test