mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-08 08:52:19 +02:00
bc8a044ab1
* run cypress on github action * add lint action * add test and coverage action * upgrade testing dependencies * upgrade linting dependencies * add bundlesize action * fix env name, prevent husky * add npm publish step * upgrade cypress to latest non-breaking version * fix postversion script * don't share full token with bundlesize * nicer version commit * add preversion script, use `--atomic` and don't publish tests * enforce tagged and signed version * restored bump-cache
26 lines
458 B
YAML
26 lines
458 B
YAML
name: Cypress
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
run-e2e:
|
|
name: integration tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 10
|
|
|
|
- name: Build library
|
|
run: npm ci
|
|
|
|
- name: run Cypress
|
|
run: npm run test:e2e
|
|
env:
|
|
CI: true
|
|
DEBUG: commit-info,cypress:server:record
|