зеркало из
1
0
Форкнуть 0
This commit is contained in:
Larry Joy 2022-10-17 11:59:20 -07:00
Родитель b4ade90b81 5487a10ef2
Коммит 4698e8248d
1 изменённых файлов: 33 добавлений и 0 удалений

33
.github/workflows/main.temp.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,33 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js.temp CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [15.x, 16.x, 17.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
timeout-minutes: 10