Skip to content

Commit

Permalink
fix: Update @next GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Jul 25, 2024
1 parent a631f25 commit 57d8a25
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
- name: Install Dependencies
if: steps.version_check.outputs.changed == 'true'
run: pnpm install --frozen-lockfile

- name: Cleanup old /latest folder
if: steps.version_check.outputs.changed == 'true'
run: rm -rf latest/*

- name: Build and Move Files
if: steps.version_check.outputs.changed == 'true'
Expand Down Expand Up @@ -61,10 +65,6 @@ jobs:
git fetch origin dist
git checkout -b dist origin/dist
- name: Cleanup old /latest folder
if: steps.version_check.outputs.changed == 'true'
run: rm -rf latest/*

- name: Commit and Push Changes
if: steps.version_check.outputs.changed == 'true'
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/update-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Cleanup old /@next folder
run: rm -rf @next/*

- name: Build JSON schema files
run: pnpm build

Expand All @@ -51,7 +54,7 @@ jobs:
- name: Checkout Dist Branch
run: |
git fetch origin dist
git checkout -b dist origin/dist
git checkout -f dist
- name: Commit and Push Changes
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Application } from "../../../../types/schemas/application";
import {Application} from '../../../../types/schemas/application';

const version = process.env['VERSION'] || '@next';

Expand Down

0 comments on commit 57d8a25

Please sign in to comment.