Skip to content

Bump idna from 3.3 to 3.7 in /modules/secure_data_warehouse/scripts/build/wrapped-key #285

Bump idna from 3.3 to 3.7 in /modules/secure_data_warehouse/scripts/build/wrapped-key

Bump idna from 3.3 to 3.7 in /modules/secure_data_warehouse/scripts/build/wrapped-key #285

Workflow file for this run

# .github/workflows/rlui-test.yml
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: RLUI
on:
pull_request:
branches:
- main
- staging
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./radlab-ui/webapp
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: ./radlab-ui/webapp/package-lock.json
- name: Load .env file
uses: xom9ikk/[email protected]
with:
path: radlab-ui/webapp
mode: test
- name: Install Node dependencies
run: npm ci
- name: Test Cases
run: npm test
build:
name: NextJS Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./radlab-ui/webapp
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: ./radlab-ui/webapp/package-lock.json
- name: Load .env file
uses: xom9ikk/[email protected]
with:
path: radlab-ui/webapp
mode: test
- name: Install Node dependencies
run: npm ci
- name: Build
run: npm run build
env:
NEXT_PUBLIC_FIREBASE_PUBLIC_API_KEY: "my-api-key"
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN: "my-auth-domain"
NEXT_PUBLIC_FIREBASE_PROJECT_ID: "my-project-id"
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET: "my-storage-bucket"
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID: "my-messaging-sender-id"
NEXT_PUBLIC_FIREBASE_APP_ID: "my-firebase-app-id"
NEXT_PUBLIC_RAD_LAB_DOCS_SITE: "https://googlecloudplatform.github.io/rad-lab/"