actions tweaks

This commit is contained in:
Bret Comnes 2019-12-26 17:41:30 -07:00
parent abc9656e71
commit 50933391ce
No known key found for this signature in database
GPG Key ID: 3705F4634DC3A1AC
2 changed files with 10 additions and 9 deletions

View File

@ -1,26 +1,25 @@
name: Tests
name: tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [12.x]
os: [ubuntu-latest]
node: [12]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
node-version: ${{ matrix.node }}
- name: npm install && npm test
run: |
npm i
npm test
env:
CI: true

View File

@ -1,5 +1,7 @@
# deploy-to-neocities
[![Actions Status](https://github.com/bcomnes/deploy-to-neocities/workflows/tests/badge.svg)](https://github.com/bcomnes/deploy-to-neocities/actions)
## See also