Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
samdev-7 committed Nov 12, 2022
1 parent 798e982 commit 21cd8eb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test-game.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches:
- main
paths:
- 'games/**.js'

push:
branches:
- samactions
Expand All @@ -24,7 +27,19 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Get changed files
id: changed-files
uses: tj-actions/[email protected]
with:
files: |
games/**.js
- name: Setup Deno
uses: denoland/[email protected]

- name: Testing
run: ${{ steps.changed-files.outputs.all_changed_files }}

- name: Check Games
run: deno run --allow-read tests/sprigfuzzy_workflow.js

0 comments on commit 21cd8eb

Please sign in to comment.