Skip to content

Commit

Permalink
feat: add test ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sxbrsky committed Jun 20, 2024
1 parent f6f09b0 commit f794357
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 4 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: PHP Latest Releases

on:
pull_request:
push:

jobs:
latest-releases:
runs-on: ubuntu-latest
outputs:
releases: ${{ steps.get-latest-releases.outputs.releases }}
steps:
-
name: checkout
uses: actions/checkout@v4
- uses: ./
id: get-latest-releases

print-php-version:
needs: [ 'latest-releases' ]
runs-on: ubuntu-latest
strategy:
matrix:
releases: ${{ fromJson(needs.latest-releases.outputs.releases)}}
steps:
-
name: checkout
uses: actions/checkout@v4
-
run: echo "php-${{ matrix.releases.version }}"

4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,3 @@

# Dependency directories
node_modules/

# Prevent Source Map from being commited
dist/index.js.map
dist/sourcemap-register.js
1 change: 1 addition & 0 deletions dist/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/sourcemap-register.js

Large diffs are not rendered by default.

0 comments on commit f794357

Please sign in to comment.