From c837458f6dc8cc9e5fa86d9862242894f441e319 Mon Sep 17 00:00:00 2001 From: Daniil Palagin Date: Tue, 5 Nov 2024 12:05:43 +0100 Subject: [PATCH] [#21] Create CI workflow --- .github/workflows/merge-to-protected.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/merge-to-protected.yml diff --git a/.github/workflows/merge-to-protected.yml b/.github/workflows/merge-to-protected.yml new file mode 100644 index 0000000..e1ca931 --- /dev/null +++ b/.github/workflows/merge-to-protected.yml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: "18.x" + - name: Install + run: npm install + - name: Build + run: npm run-script build + env: + CI: ""