From 0e97637c9c2a7ad28883414c18726ae502b5e421 Mon Sep 17 00:00:00 2001 From: Wiola Wysopal <115031260+WiolaWysopal@users.noreply.github.com> Date: Sun, 14 Jan 2024 12:04:03 +0100 Subject: [PATCH] Create testmodulowy.jml --- .github/workflows/testmodulowy.jml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/testmodulowy.jml diff --git a/.github/workflows/testmodulowy.jml b/.github/workflows/testmodulowy.jml new file mode 100644 index 0000000..9dab88d --- /dev/null +++ b/.github/workflows/testmodulowy.jml @@ -0,0 +1,26 @@ +name: UNIT TEST + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm run build --if-present + - run: npm test