name: {{ name }} on: push: branches: - {{ branch }} pull_request: branches: - {{ branch }} jobs: reuse: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: REUSE Compliance Check uses: fsfe/reuse-action@v1 yarn-install: needs: reuse strategy: matrix: platform: [ubuntu-latest, macos-latest] runs-on: {{ '${{ matrix.platform }}' }} steps: - uses: actions/checkout@v4 - name: Install node uses: actions/setup-node@v2 with: node-version: '14.x' - name: Install dependencies run: | yarn install