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.
carbon/.github/workflows/validate.yml

24 lines
610 B
YAML

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
5 years ago
uses: actions/setup-node@v1
with:
node-version: 14.x
5 years ago
- name: npm install, lint, build, and test
run: |
yarn
npm run lint --if-present
npm run build --if-present
npm start & npx wait-on http://localhost:3000 && npm run cy:run -- --config baseUrl=http://localhost:3000
# --record --key 26c0b9eb-40f9-4ca6-b91d-a39f03652011
5 years ago
env:
CI: true
CYPRESS_CI: true