Skip to content

feat(website): restyling #106

feat(website): restyling

feat(website): restyling #106

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
types: [opened, synchronize]
permissions:
id-token: write
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
WORKSPACE: production
jobs:
test-data:
name: Test
runs-on: ubuntu-22.04
if: ${{ github.head_ref != 'release-please--branches--main' }} # Skip release-please branch
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install devbox
uses: jetify-com/[email protected]
with:
enable-cache: "true"
- name: Configure aws credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ secrets.AWS_ROLE_NAME }}
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
role-session-name: github-actions
- name: Tests
timeout-minutes: 10
env:
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
AWS_ROLE_NAME: ${{ secrets.AWS_ROLE_NAME }}
run: |
devbox run infra setup
devbox run tests