Merge pull request #402 from brianlovin/actions

Simplify actions, add release drafter
This commit is contained in:
Brian Lovin 2019-12-26 23:15:48 -05:00 committed by GitHub
commit b88ef5cee4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9083 additions and 32 deletions

4
.github/release-drafter.yml vendored Normal file
View file

@ -0,0 +1,4 @@
template: |
## Changes since last release
$CHANGES

View file

@ -1,32 +1,22 @@
name: E2E Tests
on: [push]
name: E2E on Chrome
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
cypress-run:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x]
# let's make sure our tests pass on Chrome browser
name: E2E on Chrome
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and start
run: |
npm install
npm run build --if-present
npm start &
- name: flow
run: |
npm run flow
- name: cypress
run: |
npm run cypress:run
env:
CI: true
- name: Checkout
uses: actions/checkout@v1
- name: Cypress run
uses: cypress-io/github-action@v1
with:
build: yarn run build
start: yarn run start
browser: chrome

View file

@ -2,9 +2,6 @@
"name": "security-checklist",
"version": "0.1.0",
"description": "A checklist for staying safe on the internet",
"engines": {
"node": "8.x"
},
"scripts": {
"now-build": "next build",
"dev": "next",

9060
yarn.lock Normal file

File diff suppressed because it is too large Load diff