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