[Sprig App] Bomb #3369
Workflow file for this run
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: test-game | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'games/**.js' | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
test-game: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Log Environment Information | |
run: | | |
echo "Run started on: $(date)" | |
echo "Runner OS: ${{ runner.os }}" | |
echo "Workflow Ref: ${{ github.ref }}" | |
echo "Base Ref: ${{ github.base_ref }}" | |
echo "Head Ref: ${{ github.head_ref }}" | |
echo "Event Name: ${{ github.event_name }}" | |
echo "Repository: ${{ github.repository }}" | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/[email protected] | |
with: | |
files: | | |
games/**.js | |
- name: Log Changed Files | |
run: | | |
echo "Changed Files:" | |
echo "${{ steps.changed-files.outputs.all_changed_files }}" | |
- name: Setup Deno | |
uses: denoland/[email protected] | |
- name: Check Games | |
run: deno run --allow-read tests/sprigfuzzy_workflow.js ${{ steps.changed-files.outputs.all_changed_files }} |