From fccbc33cd73aedde055b37a777cac2e1fd65adc9 Mon Sep 17 00:00:00 2001 From: Johan Gorter Date: Wed, 14 Jan 2026 15:37:01 +0100 Subject: [PATCH] ci: update workflow to use main branch instead of master --- .github/workflows/node.js.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 7d5b725..e78aa6f 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -5,24 +5,19 @@ name: Node.js CI on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: - build: + ci: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [20.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - steps: - uses: actions/checkout@v6 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js 20.x uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: 20.x cache: 'npm' - run: npm ci - run: npm run ci