From c19c47eba19837604eb217afdc2562fcf307ebbb Mon Sep 17 00:00:00 2001 From: Renurin Date: Thu, 11 Jul 2024 12:26:45 -0300 Subject: [PATCH] Workflow setup and edit build in package to avoid errors --- .github/workflows/CI.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/CI.yaml diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml new file mode 100644 index 0000000..2229018 --- /dev/null +++ b/.github/workflows/CI.yaml @@ -0,0 +1,17 @@ +name: Continuos Integration +on: pull_request + +jobs: + continous-integration: + runs-on: ubuntu-latest + steps: + - uses: action/checkout@v3 + - name: use Node.JS + uses: actions/setup-node@v2 + with: + node-version: 21.x + - name: run, install and test + run: | + npm install + npm run build + npm run test \ No newline at end of file