This repository was archived by the owner on Jul 3, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (58 loc) · 2.27 KB
/
Copy pathpull_request.yml
File metadata and controls
60 lines (58 loc) · 2.27 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
name: Pull Request Deploy
on:
pull_request:
branches:
- staging
- master
env:
REACT_APP_BUGSNAG_KEY: ${{ secrets.REACT_APP_BUGSNAG_KEY }}
REACT_APP_PRO_IP_KEY: ${{ secrets.REACT_APP_PRO_IP_KEY }}
REACT_APP_AIRTABLE_API_KEY: ${{ secrets.REACT_APP_AIRTABLE_API_KEY }}
REACT_APP_CONTENTFUL_ENTRY_KEY_REDIRECTS: ${{ secrets.REACT_APP_CONTENTFUL_ENTRY_KEY_REDIRECTS }}
REACT_APP_CONTENTFUL_ENTRY_KEY_STORIES: ${{ secrets.REACT_APP_CONTENTFUL_ENTRY_KEY_STORIES }}
REACT_APP_CONTENTFUL_API_KEY: ${{ secrets.REACT_APP_CONTENTFUL_API_KEY }}
REACT_APP_FILE_UPLOADER_API_KEY: ${{ secrets.REACT_APP_FILE_UPLOADER_API_KEY }}
REACT_APP_ASSETS_URL: https://d1muvgoqe3g8vw.cloudfront.net/website
REACT_APP_CRAFT_API: https://aimeweb-backend-staging.herokuapp.com/
REACT_APP_HOST_ENV: staging
REACT_APP_PORTAL_API: https://aime-portal-api-staging.herokuapp.com
REACT_APP_THEME: rainbow
REACT_APP_INTERCOM_APP_ID: g36n1wzq
REACT_APP_SHOPIFY_STORE_FRONT_ACCESS_TOKEN: 560dd7f8110349a17d6e96c46d02a0ce
REACT_APP_SHOPIFY_DOMAIN: aimementoring.myshopify.com
REACT_APP_DONATE_ORGANISATION_UUID: 7eafc9b2-404f-11e7-bc97-06facaa3db7b
REACT_APP_AIRTABLE_STAFF_RECRUITMENT_BASE: appiTNzrkMrckYbqk
REACT_APP_PITCH_YOURSELF_TO_AIME_ID: rec8N1DIykET8T9SF
REACT_APP_CONTENTFUL_SPACE_ID: iz0aikshgysc
REACT_APP_CONTENTFUL_CONTENT_TYPE_REDIRECTS: redirectEntries
REACT_APP_CONTENTFUL_CONTENT_TYPE_STORIES: post
REACT_APP_GOOGLE_TAG_MANAGER: GTM-NK5SFHW
REACT_APP_CONTENTFUL_API_ENVIRONMENT: master
NEXTJS_TARGET: serverless
jobs:
Build_and_Lint:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Install node
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install yarn dependencies
run: yarn
- name: Linters
uses: samuelmeuli/lint-action@v1
with:
github_token: ${{ secrets.github_token }}
eslint: true
stylelint: true
auto_fix: true
- name: Build
run: yarn run export
- name: Performance Budgeting Regression Testing
uses: ModusCreateOrg/gimbal/action@master
env:
GITHUB_AUTH_TOKEN: ${{ secrets.GIMBAL_GITHUB_TOKEN }}