Skip to content

General improvements to code structure #17

General improvements to code structure

General improvements to code structure #17

Workflow file for this run

name: Build
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build-library:
name: Build Plugin
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Build plugin
run: npm run build
run-validations:
name: Validate Code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Validate code format
run: npm run check
- name: Validate changelog
uses: mindsers/[email protected]
with:
# Path to the CHANGELOG file containing the log entries
path: ./CHANGELOG.md
# Specifies if the CHANGELOG.md file should be validated and the behavior of the action
validation_level: error