Skip to content

Use third-party action to allow issue creation #25

Use third-party action to allow issue creation

Use third-party action to allow issue creation #25

name: Pre-Merge Checks
on:
pull_request:
branches: [main]
jobs:
linting:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Enforce strict linting
run: npm run lint-strict
unit-tests:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: npm run test:unit
full-build:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Execute full build
run: npm run build