mirror of
https://github.com/garraflavatra/alphabets.git
synced 2025-01-18 05:07:58 +00:00
Update build and test workflow
This commit is contained in:
parent
d7a82cd699
commit
05bc3ed923
@ -1,6 +1,6 @@
|
||||
name: CI
|
||||
name: Build and test
|
||||
|
||||
on: [ push ]
|
||||
on: [ push, pull_request ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -9,14 +9,23 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [10.x, 12.x, 14.x, 15.x]
|
||||
node-version: [10.x, 12.x, 14.x, 15.x, 16.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- run: npm install
|
||||
|
||||
- run: npm run build
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: build
|
||||
path: dist/
|
||||
|
||||
- run: npm run test
|
Loading…
Reference in New Issue
Block a user