Skip to content

Commit

Permalink
Test GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
typeofweb committed Nov 24, 2023
1 parent e508592 commit 95145d9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
name: Build, TypeScripts, tests
on: deployment_status
on:
issue_comment:
types: [created, deleted]

concurrency:
group: tests-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build_and_test:
if: ${{ github.event.deployment_status.state == 'success' }}
if: ${{ github.event.issue.pull_request }}

runs-on: ubuntu-latest
env:
NEXT_PUBLIC_SALEOR_API_URL: https://storefront1.saleor.cloud/graphql/

steps:
- name: Check for Vercel comment
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
echo "$GITHUB_CONTEXT"
exit 0
- uses: actions/checkout@v4

- name: Get PNPM version from package.json
Expand Down

0 comments on commit 95145d9

Please sign in to comment.