mirror of
https://github.com/actions/labeler.git
synced 2025-12-11 03:58:05 +00:00
🧹 Add "Build & Test" Workflow (#145)
This commit is contained in:
28
.github/workflows/build_test.yml
vendored
Normal file
28
.github/workflows/build_test.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: Build & Test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- releases/*
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup node 14
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14.x
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- run: npm test
|
||||
Reference in New Issue
Block a user