Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/run_vrt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Run VRT

on:
pull_request:
branches: [ main ]
types: [ opened, synchronize ]
workflow_dispatch:

jobs:
run-vrt:
runs-on: ubuntu-latest
timeout-minutes: 30
concurrency:
group: ${{ github.ref }}-vrt
cancel-in-progress: true
environment:
name: develop
env:
REG_SUITE_CLIENT_ID: ${{ secrets.REG_SUITE_CLIENT_ID }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REG_SUITE_S3_BUCKET_NAME: ${{ secrets.REG_SUITE_S3_BUCKET_NAME }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: workaround for detached HEAD
run: |
git checkout ${{github.head_ref}} && git pull

- name: Get node version from volta
id: get-node-version
uses: keita-hino/get-node-version-from-volta@main

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ steps.get-node-version.outputs.nodeVersion }}

- name: NPM install
run: npm install

- name: run reg-suit
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
npx reg-suit run
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ next-env.d.ts
# sst
.sst
cdk.context.json
.reg
Binary file added directory_contains_actual_images/sample.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading