Skip to content

Revert "Se añade configuración para configurar liveshare en Codespace" #15

Revert "Se añade configuración para configurar liveshare en Codespace"

Revert "Se añade configuración para configurar liveshare en Codespace" #15

Workflow file for this run

name: javascript-CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ci_to_main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up node.js
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test-once
#- name: Run Cypress Tests
# uses: cypress-io/github-action@v4
# with:
# start: npm start
# wait-on: "http://localhost:1234"
- name: Build for deploy
run: npm run build
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}