Bump cookie and express in /server #175
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: [12.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: Add dist folder to artifact | |
working-directory: dist | |
run: | | |
zip -r ../codam-web-greeter.zip * | |
- name: Add systemd folder to artifact as subfolder | |
run: | | |
zip -r codam-web-greeter.zip systemd | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: codam-web-greeter | |
path: codam-web-greeter.zip | |
retention-days: 1 |