fix: user-agent by making __filename check more resilient #11215
Workflow file for this run
This file contains 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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Node CI | |
on: | |
push: | |
branches: | |
- current | |
- next | |
- 'v*' | |
pull_request: | |
jobs: | |
build: | |
name: Test | |
uses: pkgjs/action/.github/workflows/node-test.yaml@v0.1.7 | |
with: | |
runs-on: ubuntu-latest, windows-latest | |
test-command: npm run coverage:ci | |
timeout-minutes: 15 | |
post-test-steps: | | |
- name: Coverage Report | |
uses: codecov/codecov-action@v3 | |
include: | | |
- runs-on: ubuntu-latest | |
node-version: 16.8 | |
exclude: | | |
- runs-on: windows-latest | |
node-version: 14 | |
- runs-on: windows-latest | |
node-version: 16 | |
automerge: | |
if: > | |
github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]' | |
needs: build | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
contents: write | |
steps: | |
- uses: fastify/github-action-merge-dependabot@59fc8817458fac20df8884576cfe69dbb77c9a07 # v3.9.1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |