-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (38 loc) · 1.05 KB
/
pull-request.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: 'Run tests 🧪'
on:
pull_request:
branches:
- main
- beta
- alpha
merge_group:
concurrency:
group: '${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: true
jobs:
test:
uses: ./.github/workflows/test.yml
secrets: inherit
bundlewatch:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: myparcelnl/actions/yarn-install@v4
with:
node-version: ${{ vars.NODE_VERSION }}
- uses: myparcelnl/actions/nx-run-many@v4
env:
NX_BRANCH: production
with:
target: 'build'
- uses: myparcelnl/actions/setup-git-credentials@v4
id: credentials
with:
app-id: ${{ secrets.MYPARCEL_APP_ID }}
private-key: ${{ secrets.MYPARCEL_APP_PRIVATE_KEY }}
- name: 'Fetch base branch'
shell: bash
run: git fetch --no-tags --prune --depth=1 origin ${{ github.base_ref }}
- uses: myparcelnl/actions/bundlewatch@v4
with:
token: ${{ inputs.bundlewatch-token }}