From 91ff186068b37a587413ba44859158892c728f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= <2pi_r2@gmx.de> Date: Mon, 1 Jan 2024 22:25:20 +0100 Subject: [PATCH] Create node.js.yml --- .github/workflows/node.js.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..30ecf56 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,21 @@ +name: Node.js CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: 20 + cache: 'npm' + - run: pnpm ci + - run: pnpm run build