DO NOT MERGE - Inspiration add typings #2375
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: vdiff | |
on: pull_request | |
jobs: | |
vdiff: | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Brightspace/third-party-actions@actions/checkout | |
- uses: Brightspace/third-party-actions@actions/setup-node | |
with: | |
node-version-file: .nvmrc | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: vdiff Tests | |
uses: BrightspaceUI/actions/vdiff@main | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-session-token: ${{ secrets.AWS_SESSION_TOKEN }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
test-timeout: 10000 | |
- name: Upload test report | |
if: github.triggering_actor != 'dependabot[bot]' && (failure() || success()) | |
uses: Brightspace/test-reporting-action@main | |
with: | |
aws-access-key-id: ${{secrets.AWS_ACCESS_KEY_ID}} | |
aws-secret-access-key: ${{secrets.AWS_SECRET_ACCESS_KEY}} | |
aws-session-token: ${{secrets.AWS_SESSION_TOKEN}} |