Skip to content

fix(deps): update fluent ui #4115

fix(deps): update fluent ui

fix(deps): update fluent ui #4115

Workflow file for this run

name: Test, Build and Release
on:
push:
branches:
- KillYourMaster
pull_request:
jobs:
dependencies:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'npm'
- name: Cache Node dependencies
uses: actions/cache@v4
id: npm-cache
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci
test:
runs-on: ubuntu-latest
needs: dependencies
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'npm'
- name: Cache Node dependencies
uses: actions/cache@v4
id: npm-cache
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: npm ci
- name: Run tests
run: |
npm run lint
npm run test
build:
runs-on: ubuntu-latest
needs: dependencies
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'npm'
- name: Cache Node dependencies
uses: actions/cache@v4
id: npm-cache
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: npm ci
- name: Build application
env:
NODE_OPTIONS: --openssl-legacy-provider
run: npm run build
release:
runs-on: ubuntu-latest
needs: [test, build, dependencies]
if: github.ref == 'refs/heads/KillYourMaster' && !contains(github.event.head_commit.message, '[skip release]')
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 50
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'npm'
- name: Cache Node dependencies
uses: actions/cache@v4
id: npm-cache
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: npm ci
- name: Create release
run: |
git config user.email "520258+herschel666@users.noreply.github.com"
git config user.name "Emanuel Kluge"
npx lerna version --yes
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}