mirror of
https://github.com/optilude/xlsx-template.git
synced 2026-07-02 00:17:39 +08:00
3a5ad82617
* Switch tests to TypeScript * Set default branch for build
23 lines
370 B
YAML
23 lines
370 B
YAML
name: CI validation
|
|
on:
|
|
push:
|
|
branches: [ 'master' ]
|
|
pull_request:
|
|
branches: [ 'master' ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16
|
|
|
|
- name: Restore NPM dependencies
|
|
run: npm ci
|
|
|
|
- name: Test
|
|
run: npm test
|