forked from aws-amplify/amplify-js
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 956 Bytes
/
pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: E2E test
on: [push]
jobs:
prebuild:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 https://github.com/actions/checkout/commit/24cb9080177205b6e8c946b17badbe402adc938f
with:
# Minimal depth 2 so we can checkout the commit before possible merge commit.
fetch-depth: 2
path: aws-amplify
- name: Setup node and build the repository
uses: ./aws-amplify/.github/actions/node-and-build
test-checkout:
runs-on: ubuntu-latest
steps:
- name: Checkout stating repo
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f
with:
repository: ashwinkumar6/amplify-js-samples-staging
path: aws-amplify-staging
token: ${{ secrets.GH_PAT }}
e2e:
needs: prebuild
uses: ./.github/workflows/callable-e2e.yml
secrets: inherit