summaryrefslogtreecommitdiffstats
path: root/.github/workflows/nodejs.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 20:56:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 20:56:19 +0000
commit0b6210cd37b68b94252cb798598b12974a20e1c1 (patch)
treee371686554a877842d95aa94f100bee552ff2a8e /.github/workflows/nodejs.yml
parentInitial commit. (diff)
downloadnode-undici-0b6210cd37b68b94252cb798598b12974a20e1c1.tar.xz
node-undici-0b6210cd37b68b94252cb798598b12974a20e1c1.zip
Adding upstream version 5.28.2+dfsg1+~cs23.11.12.3.upstream/5.28.2+dfsg1+_cs23.11.12.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/nodejs.yml')
-rw-r--r--.github/workflows/nodejs.yml45
1 files changed, 45 insertions, 0 deletions
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml
new file mode 100644
index 0000000..4c3a77e
--- /dev/null
+++ b/.github/workflows/nodejs.yml
@@ -0,0 +1,45 @@
+# 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 }}