Skip to content

Commit

Permalink
feat: convert CI pipeline to express integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
UlisesGascon committed Feb 18, 2024
1 parent 95902ff commit 3cc30a2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: ci

on:
- pull_request
- push
pull_request:
push:
repository_dispatch:
types: [integration-tests]

jobs:
test:
Expand Down Expand Up @@ -30,8 +32,15 @@ jobs:
node-version: "21.1"

steps:
- name: Set EXPRESS_BRANCH_NAME
run: echo "EXPRESS_BRANCH_NAME=${{ github.event.client_payload.branch || 'master' }}" >> $GITHUB_ENV

- uses: actions/checkout@v3

- name: Replace Expressjs branch name in package.json
run: |
jq '.dependencies.express = "git+https://github.com/expressjs/express.git#'${EXPRESS_BRANCH_NAME}'"' package.json > temp.json && mv temp.json package.json
- name: Install Node.js ${{ matrix.node-version }}
shell: bash -eo pipefail -l {0}
run: |
Expand Down

0 comments on commit 3cc30a2

Please sign in to comment.