chore(deps): update dev-dependencies-non-major #336
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: CI | |
on: | |
pull_request: | |
branches: [master] | |
jobs: | |
test-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build docker image | |
run: docker build sapper | |
cypress-run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
- run: node -v | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Cypress run | |
uses: cypress-io/github-action@v2 | |
with: | |
command: npm run cy:run | |
working-directory: sapper | |
start: npm run dev | |
wait-on: 'http://localhost:3000' | |
tag: node-14 |