From 6cbd1926735ec1f5d6df3d92f8661095c5988835 Mon Sep 17 00:00:00 2001 From: eacet Date: Wed, 17 Jul 2024 12:37:32 +0300 Subject: [PATCH] Add github workflows --- .github/workflows/ci.yml | 15 +++++++++++++++ .github/workflows/npm-publish.yml | 0 2 files changed, 15 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..5eda697 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,15 @@ +name: CI + +on: pull_request + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - run: npm ci --unsafe-perm + - run: npm run build + - run: npm test \ No newline at end of file diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml new file mode 100644 index 0000000..e69de29