mirror of https://github.com/sgoudham/carbon.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
579 B
YAML
23 lines
579 B
YAML
name: CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Use Node.js 10.x
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 10.x
|
|
- name: npm install, lint, build, and test
|
|
run: |
|
|
npm install
|
|
npm run lint
|
|
npm run build
|
|
npm start & npx wait-on http://localhost:3000 && npm run cy:run -- --record --key 26c0b9eb-40f9-4ca6-b91d-a39f03652011 --config baseUrl=http://localhost:3000
|
|
env:
|
|
CI: true
|
|
CYPRESS_CI: true
|