Skip to content

Merge pull request #1886 from d3fc/changeset-release/master #2

Merge pull request #1886 from d3fc/changeset-release/master

Merge pull request #1886 from d3fc/changeset-release/master #2

Workflow file for this run

name: Development
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_call:
jobs:
build-test:
name: Build and test
runs-on: ubuntu-latest
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Setup Node"
uses: actions/setup-node@v4
with:
node-version: 20.15.0
- name: "Install dependencies"
run: npm ci
- name: "Build"
run: |
npm run bundle
npm run bundle-min
- name: "Run tests"
run: npm test
lint:
name: Code standards
runs-on: ubuntu-latest
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Setup Node"
uses: actions/setup-node@v4
with:
node-version: 20.15.0
- name: "Install dependencies"
run: npm ci
- name: "Lint code"
run: npm run lint
- name: "Lint commit"
run: npm run commitlint