Skip to content

Commit

Permalink
add CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
codewithgun committed Mar 25, 2024
1 parent fc84dbd commit f6c8aee
Show file tree
Hide file tree
Showing 7 changed files with 1,909 additions and 2 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: New launch pool

on:
pull_request:
branches:
- main

jobs:
pairs_changed_files:
runs-on: ubuntu-20.04
outputs:
json: ${{steps.changed-files-specific.outputs.any_changed}}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Get specific changed files
id: changed-files-specific
uses: tj-actions/changed-files@v18.6
with:
files: |
pairs.json
format_check:
runs-on: ubuntu-20.04
needs: pairs_changed_files
if: needs.pairs_changed_files.outputs.json == 'true'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.14.2
- run: npm install
shell: bash
- run: npm run test
shell: bash
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
Loading

0 comments on commit f6c8aee

Please sign in to comment.