-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (42 loc) · 1.48 KB
/
feature-branch-up.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
name: Feature Branch Up
on: pull_request
jobs:
job1:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['14.x']
outputs:
output1: ${{steps.featureBranchUp.outputs.result}}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.9.8' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Installing dependencies
run: |
ls -als
pip3 install setuptools-rust
pip3 install awsebcli
- name: npm install, build, and Feature Branch Up
id: featureBrancUp
run: |
npm i
npm run build
npm run feature-branch-up
env:
CI: true
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DATABASE_URL: ${{ secrets.AWS_DATABASE_URL }}
AWS_DEFAULT_REGION: 'us-west-1'
GITHUB_BRANCH_NAME: ${{ github.head_ref }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_TOKEN: ${{ github.token }}
GITHUB_PULL_REQUEST_NUMBER: ${{ github.event.number }}