Skip to content

Commit

Permalink
Update deploy-test.yml workflow***
Browse files Browse the repository at this point in the history
This commit updates the deploy-test.yml workflow file. It includes changes such as adding a step to checkout the repository, renaming steps for clarity, and updating the release action with the correct asset name and file path.
  • Loading branch information
b3hr4d committed Feb 25, 2024
1 parent 8fc3747 commit 92fe510
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ on:
push:
tags:
- "v*"

jobs:
build-and-release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Checkout Repository
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
Expand All @@ -19,26 +23,25 @@ jobs:
- name: Install Yarn
run: npm install -g yarn

- name: Install dependencies
- name: Install Dependencies
run: yarn install

- name: Build
run: yarn build

- name: Get version from package
- name: Get Version from Package
id: package_version
run: echo "::set-output name=VERSION::$(jq -r '.version' ./packages/core/package.json)"
shell: bash

- name: List Files in Directory
run: ls -la ./packages/core/umd/production/

- uses: actions/checkout@v3
- name: Release file
- name: Release File
uses: djnicholson/release-action@v2.10
with:
token: ${{ secrets.RELEASE_TOKEN }}
release-name: Core Bundle ${{ steps.package_version.outputs.VERSION }}
tag-name: v${{ steps.package_version.outputs.VERSION }}
release-name: "Core Bundle ${{ steps.package_version.outputs.VERSION }}"
tag-name: "v${{ steps.package_version.outputs.VERSION }}"
asset-name: "ic-reactor-core.min.js"
file: "./packages/core/umd/production/ic-reactor-core.min.js"

0 comments on commit 92fe510

Please sign in to comment.