Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ctran88 committed Jan 27, 2025
1 parent 40fc6bc commit 195c22a
Showing 1 changed file with 31 additions and 27 deletions.
58 changes: 31 additions & 27 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
workflow_call:
workflow_dispatch:
pull_request:
push:
branches:
- test-concurrency-group

env:
API_KEY: ${{ secrets.API_KEY }}
Expand All @@ -12,33 +15,33 @@ env:
EXAMPLE_USER_ID: ${{ secrets.EXAMPLE_USER_ID }}

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: npm i
- name: Lint
run: npm run lint:ci
format:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: npm i
- name: Format
run: npm run format:ci
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: npm i
- name: Test
run: npm run test
# lint:
# name: Lint
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Install dependencies
# run: npm i
# - name: Lint
# run: npm run lint:ci
# format:
# name: Format
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Install dependencies
# run: npm i
# - name: Format
# run: npm run format:ci
# test:
# name: Test
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Install dependencies
# run: npm i
# - name: Test
# run: npm run test
test-e2e:
name: Test E2E
runs-on: ubuntu-latest
Expand All @@ -58,6 +61,7 @@ jobs:
# github.head_ref is only available on PR events, while github.ref_name provides the branch name on other events
client_payload: >-
{
"target_ref":"test-concurrency-group",
"target_sdk":"node",
"use_test_release":true,
"sdk_branch_ref":"${{ github.head_ref || github.ref_name }}"
Expand Down

0 comments on commit 195c22a

Please sign in to comment.