Skip to content

Commit

Permalink
Fix CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
cvetty committed Jun 28, 2024
1 parent 564a12b commit 4fb5cf6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
- no update

env:
NODE_VERSION: "18.15.0"
NODE_VERSION: "18.20.3"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -31,7 +31,7 @@ permissions:

jobs:
prerelease:
name: Draft Github Release
name: Create prerelease
runs-on: ubuntu-20.04
outputs:
release_id: ${{ steps.update_release.outputs.result }}
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
release_id: ${{ env.RELEASE_ID }},
data: await fs.readFile('./npm-dist.zip')
data: await fs.readFile('./distribution-package.zip')
});
env:
RELEASE_ID: ${{ needs.prerelease.outputs.release_id }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [released]

env:
NODE_VERSION: "18.15.0"
NODE_VERSION: "18.20.3"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -15,8 +15,8 @@ permissions:
contents: write

jobs:
check:
name: check
release:
name: Release
runs-on: ubuntu-20.04
steps:
- name: Checkout the repo
Expand All @@ -40,8 +40,8 @@ jobs:
env:
ASSETS: ${{ toJson(github.event.release.assets) }}

- name: Cd to the UI
run: cd krait-ui
- name: Create separate directory
run: mkdir production-build && cd production-build

- name: Download distribution build
run: curl -O $DOWNLOAD_URL
Expand Down

0 comments on commit 4fb5cf6

Please sign in to comment.