Skip to content

Commit

Permalink
Merge pull request #380 from swrlab/dev/update-1.3.8
Browse files Browse the repository at this point in the history
chore: update 1.3.8
  • Loading branch information
rafaelmaeuer authored Aug 22, 2022
2 parents 8e18005 + 9df1109 commit 81112a4
Show file tree
Hide file tree
Showing 10 changed files with 1,779 additions and 1,849 deletions.
86 changes: 42 additions & 44 deletions .github/workflows/ingest-pull.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: ingest pull

on:
Expand All @@ -7,16 +6,15 @@ on:

env:
NODE_VERSION: 18


jobs:
security:
name: Check permissions for pull request runs
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'safe to test')
steps:
- run: |
echo "Security checks passed!"
- run: |
echo "Security checks passed!"
test:
needs: security
Expand All @@ -25,56 +23,56 @@ jobs:
matrix:
STAGES: [dev]
steps:
- name: 👀 Checkout Code
uses: actions/checkout@v3
- name: 👀 Checkout Code
uses: actions/checkout@v3

- name: ⛺️ Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- name: ⛺️ Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: "yarn"
cache-dependency-path: "**/yarn.lock"

- name: 📦 Install Dependencies
run: yarn
- name: 📦 Install Dependencies
run: yarn

- name: 🔑 Setup Google Cloud Auth
uses: google-github-actions/setup-gcloud@v0
with:
service_account_key: ${{ secrets.GCP_GITHUB_SERVICE_ACCOUNT_KEY }}
export_default_credentials: true
- name: 🔑 Setup Google Cloud Auth
uses: google-github-actions/setup-gcloud@v0
with:
service_account_key: ${{ secrets.GCP_GITHUB_SERVICE_ACCOUNT_KEY }}
export_default_credentials: true

- name: 📚 Lint Code
run: yarn ingest:lint
- name: 📚 Lint Code
run: yarn ingest:lint

- name: 🧪 Run Ingest Tests
env:
SERVICE_NAME: ard-eventhub
STAGE: ${{ matrix.STAGES }}
DD_TRACE_ENABLED: false
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
FIREBASE_API_KEY: ${{ secrets.TEST_FIREBASE_API_KEY }}
TEST_USER: ${{ secrets.TEST_USER }}
TEST_USER_PW: ${{ secrets.TEST_USER_PW }}
PUBSUB_SERVICE_ACCOUNT_EMAIL_INTERNAL: ${{ secrets.PUBSUB_SERVICE_ACCOUNT_EMAIL }}
run: yarn ingest:test
- name: 🧪 Run Ingest Tests
env:
SERVICE_NAME: ard-eventhub
STAGE: ${{ matrix.STAGES }}
DD_TRACE_ENABLED: false
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
FIREBASE_API_KEY: ${{ secrets.TEST_FIREBASE_API_KEY }}
TEST_USER: ${{ secrets.TEST_USER }}
TEST_USER_PW: ${{ secrets.TEST_USER_PW }}
PUBSUB_SERVICE_ACCOUNT_EMAIL_INTERNAL: ${{ secrets.PUBSUB_SERVICE_ACCOUNT_EMAIL }}
run: yarn ingest:test

license:
needs: security
runs-on: ubuntu-latest
steps:
- name: 👀 Checkout Code
uses: actions/checkout@v3
- name: 👀 Checkout Code
uses: actions/checkout@v3

- name: ⛺️ Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- name: ⛺️ Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: "yarn"
cache-dependency-path: "**/yarn.lock"

- name: 📦 Install Dependencies
run: yarn
- name: 📦 Install Dependencies
run: yarn

- name: 📚 Run License Check
run: yarn license
- name: 📚 Run License Check
run: yarn license
Loading

0 comments on commit 81112a4

Please sign in to comment.