Skip to content

fix broken build and update release name #17

fix broken build and update release name

fix broken build and update release name #17

Workflow file for this run

name: NodeJS with Webpack
on:
push:
branches: [ "main" ]
tags-ignore:
- 'v0.*' # alpha
- 'v1.*' # release
pull_request:
branches: [ "main" ]
workflow_call:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install apt dependencies
run: |
sudo apt-get install -y make
- name: Install npm dependencies
run: |
npm install
- name: Build codam-web-greeter
run: |
make build
- name: Create zip file from dist folder
working-directory: dist
run: |
zip -r ../codam-web-greeter.zip *
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: codam-web-greeter
path: codam-web-greeter.zip
retention-days: 1