From 2fa488cdc0c7144d98b49cd140906a43cb022528 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Sat, 25 Sep 2021 17:04:10 +0300 Subject: [PATCH] Set up GitHub workflow --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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 0000000..5f2d736 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: ci + +on: [ push, pull_request ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Node.js v12 + uses: actions/setup-node@v1 + with: + node-version: 12 + + - name: Set up node modules + run: npm ci + + - name: Execute tests + run: npm run test + + - name: Build artifacts + run: npm run build \ No newline at end of file