Feature/33 api fails when no pilots or logbook entries #35
11
.github/workflows/dev.yaml
vendored
11
.github/workflows/dev.yaml
vendored
@@ -15,12 +15,21 @@ jobs:
|
|||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@v45
|
uses: tj-actions/changed-files@v45
|
||||||
with:
|
with:
|
||||||
dir_names: 'true'
|
dir_names: 'true'
|
||||||
|
|
||||||
|
- name: List modified files
|
||||||
|
env:
|
||||||
|
MODIFIED_FILES: ${{ steps.changed-files.outputs.modified_files }}
|
||||||
|
run: |
|
||||||
|
for file in ${MODIFIED_FILES}; do
|
||||||
|
echo "$file was modified"
|
||||||
|
done
|
||||||
|
|
||||||
build-deploy-api:
|
build-deploy-api:
|
||||||
if: contains(needs.changed-files.outputs.modified_files, 'api')
|
if: contains(needs.changed-files.outputs, 'api')
|
||||||
name: build-deploy-api
|
name: build-deploy-api
|
||||||
needs:
|
needs:
|
||||||
- changed-files
|
- changed-files
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@noahspan/flying-client",
|
"name": "@noahspan/flying-client",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
Reference in New Issue
Block a user