Skip to content

Commit

Permalink
chore(General): 🔨 Add artifact generator
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoval committed Oct 15, 2024
1 parent c6d65c8 commit 41239ca
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/artifact-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and Upload Artifact

on:
push:
branches:
- main
- v2

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'

- name: Install dependencies and build the project
run: |
yarn install --immutable --immutable-cache --check-cache --prefer-offline
yarn build
- name: Upload build artifact
uses: actions/upload-artifact@v2
with:
name: skupper-console-build
path: skupper-console/skupper-console-2/build/
3 changes: 2 additions & 1 deletion webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ module.exports = {
test: /\.tsx?$/,
loader: 'ts-loader',
options: {
transpileOnly: true
transpileOnly: true,
happyPackMode: true
}
},
{
Expand Down

0 comments on commit 41239ca

Please sign in to comment.