Skip to content

build(deps-dev): Bump eslint from 8.54.0 to 8.55.0 in /washboard-ui #5

build(deps-dev): Bump eslint from 8.54.0 to 8.55.0 in /washboard-ui

build(deps-dev): Bump eslint from 8.54.0 to 8.55.0 in /washboard-ui #5

Workflow file for this run

name: washboard
on:
push:
paths:
- 'washboard-ui/**'
branches:
- main
tags:
- 'washboard-ui-v*'
pull_request:
branches:
- main
env:
CI: true
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./washboard-ui
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache-dependency-path: ./washboard-ui/package-lock.json
- name: Install dependencies
run: npm install
- name: Test
run: npm run test
- name: Build
run: npm run build
- name: Compress
run: tar -C dist -zcvf washboard.tar.gz .
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: washboard
path: ./washboard-ui/washboard.tar.gz
release:
runs-on: ubuntu-latest
needs: build
if: startsWith(github.ref, 'refs/tags/washboard-ui-v')
steps:
- name: Download Asset
uses: actions/download-artifact@v3
with:
name: washboard
- name: Create Release
uses: ncipollo/release-action@v1.13.0
with:
draft: false
prerelease: false
makeLatest: false
artifacts: washboard.tar.gz