Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update @next GitHub action #216

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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