name: node-js on: push: branches: [ main, master ] pull_request: branches: [ main, master ] permissions: contents: write jobs: build: name: Test runs-on: ubuntu-20.04 strategy: matrix: node-version: [14.x] steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }}