Merge pull request #111 from wozjac/dependabot/npm_and_yarn/tar-fs-2.1.4 #277
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| permissions: | |
| contents: read | |
| on: [push] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [macos-latest, ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Install dependencies | |
| run: npm install --no-optional | |
| - run: xvfb-run -a npm test | |
| if: runner.os == 'Linux' | |
| - run: npm test | |
| if: runner.os != 'Linux' | |
| - name: Adjust coverage results | |
| run: npm run sed | |
| if: runner.os == 'Linux' | |
| - name: Coveralls | |
| if: runner.os == 'Linux' | |
| uses: coverallsapp/github-action@v2.3.0 | |
| with: | |
| github-token: ${{ github.token }} | |
| file: ./out/coverage/lcov.info |