Skip to content

Updated release notes #189

Updated release notes

Updated release notes #189

name: Validate Module
on:
# Run when a push or pull request contains changes in the module directory.
push:
paths:
- module/**
pull_request:
paths:
- module/**
jobs:
main:
name: Validate Module
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout
uses: actions/checkout@v2
# Setup Node
- name: Setup Node
uses: actions/[email protected]
with:
node-version: 16
registry-url: https://registry.npmjs.org
# Cache Node Module Dependencies
- name: Cache Node Module Dependencies
uses: actions/cache@v2
with:
path: "module/node_modules"
key: nodemodules-${{ runner.os }}-${{ hashFiles('module/package-lock.json') }}
# Install Dependencies
- name: Install Dependencies
working-directory: module
run: npm install
# Lint Code
- name: Lint Code
working-directory: module
run: npm run lint
# Build Source
- name: Build Source
working-directory: module
run: npm run build