mirror of
https://github.com/pure-css/pure.git
synced 2024-11-07 21:34:24 +00:00
ci: add test workflow (#859)
This commit is contained in:
parent
2ca8d9b778
commit
64f2f30121
21
.github/workflows/test.yml
vendored
Normal file
21
.github/workflows/test.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Testing
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14.x
|
||||
- run: npm ci
|
||||
- run: npm run lint
|
||||
- run: npm test
|
@ -6,7 +6,7 @@ Pure
|
||||
A set of small, responsive CSS modules that you can use in every web project.
|
||||
[http://purecss.io/][Pure]
|
||||
|
||||
[![Build Status](http://img.shields.io/travis/pure-css/pure.svg?style=flat)][Build Status]
|
||||
![Build Status](https://github.com/pure-css/pure/actions/workflows/test.yml/badge.svg)
|
||||
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/pure-css/pure?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
|
||||
**This project is looking for maintainers to support and enhance Pure.css. If you are interested please [leave a comment](https://github.com/pure-css/pure/issues/692) in the Github issue.**
|
||||
|
15587
package-lock.json
generated
Normal file
15587
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -8,10 +8,9 @@
|
||||
"scripts": {
|
||||
"lint": "eslint . --ext .js",
|
||||
"prepare": "grunt release",
|
||||
"pretest": "npm run lint",
|
||||
"site:build": "npm run pretest && cd site && npm install && npm run build",
|
||||
"site:start": "cd site && npm run start",
|
||||
"test": "grunt test && tap test/*.js"
|
||||
"test": "grunt test && tap test/*.js --no-coverage"
|
||||
},
|
||||
"files": [
|
||||
"build/"
|
||||
|
Loading…
Reference in New Issue
Block a user