Skip to content

fix: [#1] Improves documentation #1

fix: [#1] Improves documentation

fix: [#1] Improves documentation #1

Workflow file for this run

name: Pull request
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Cache node modules
uses: actions/cache@v3
id: cache-node-modules
env:
cache-name: cache-node-modules
with:
path: |
./node_modules
key: ${{ runner.os }}-${{ matrix.node-version }}-build-${{ env.cache-name }}-${{ hashFiles('./package-lock.json') }}
- name: Install dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: |
npm ci
- name: Build distrubution
run: npm run build
- name: Validate commit messages
run: node ./node_modules/.bin/happy-validate-pr-commit-messages
- name: Lint
run: npm run lint
- name: Test
run: npm run test