Skip to content

Commit

Permalink
Simplify condition syntax in staging workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdbeentjes committed Oct 2, 2024
1 parent 802e20c commit 81023a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/staging-migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
run: echo "CHANGES=${{ env.CHANGES }}"

- name: Set up Node.js
if: ${{ env.CHANGES == 'true' }}
if: env.CHANGES == 'true'
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install dependencies
if: ${{ env.CHANGES == 'true' }}
if: env.CHANGES == 'true'
run: npm install --force

- name: Run TypeScript script
if: ${{ env.CHANGES == 'true' }}
if: env.CHANGES == 'true'
run: npm run migrations:apply-staging

0 comments on commit 81023a6

Please sign in to comment.