All checks were successful
Distribution check / Generated files check (push) Successful in -1m57s
NPM Audit Check / Check NPM audit (push) Successful in -2m9s
Unit tests / Unit tests (latest) (push) Successful in -2m0s
Unit tests / Unit tests (lts/*) (push) Successful in -1m59s
Unit tests / Unit tests (lts/hydrogen) (push) Successful in -1m59s
36 lines
658 B
YAML
36 lines
658 B
YAML
name: Distribution check
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
|
|
check:
|
|
name: Generated files check
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
strategy:
|
|
fail-fast: true
|
|
permissions:
|
|
contents: read
|
|
|
|
steps:
|
|
- name: checkout repository
|
|
uses: https://github.com/actions/checkout@v4
|
|
|
|
- name: set up node
|
|
uses: https://github.com/actions/setup-node@v4
|
|
with:
|
|
node-version: lts/*
|
|
check-latest: true
|
|
|
|
- name: Build
|
|
run: |
|
|
npm install && npm run dist
|
|
|
|
- name: check for diff
|
|
run: git update-index --refresh
|