From 0a589000d520e6298f53a420fe91268ebb222b93 Mon Sep 17 00:00:00 2001 From: dzgierski19 Date: Thu, 6 Jun 2024 13:59:17 +0200 Subject: [PATCH] add work for checking node --- .github/workflows/nodeCheck.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/nodeCheck.yml diff --git a/.github/workflows/nodeCheck.yml b/.github/workflows/nodeCheck.yml new file mode 100644 index 0000000..1e5a573 --- /dev/null +++ b/.github/workflows/nodeCheck.yml @@ -0,0 +1,32 @@ +name: Node.js CI + +on: + push: + branches: + - main + - dev + +jobs: + build: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '18' + + - name: Verify Node.js and npm installation + run: | + node -v + npm -v + + - name: Install dependencies + run: npm ci