From 47660eff89f8039cd35de95fb7fc40d4bbfb864a Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Thu, 21 Dec 2023 12:14:20 +0100 Subject: [PATCH] ci: add GitHub action --- .github/workflows/CI.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..8f8f15d --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,23 @@ +name: CI +on: [ push, pull_request ] +jobs: + Build: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ ubuntu-latest ] + node-version: [ 20 ] + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Use Node.js ${{matrix.node-version}} + uses: actions/setup-node@v3 + with: + node-version: ${{matrix.node-version}} + cache: 'npm' + - name: Install dependencies + run: npm ci + - name: Build + run: npm run all \ No newline at end of file