Skip to content

Atualiza para webpack 5 e remove protractor #17

Atualiza para webpack 5 e remove protractor

Atualiza para webpack 5 e remove protractor #17

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, 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: Teste de Unidade
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
firefox: [ 'latest-esr', 'latest' ]
chrome-version: [ 'latest ']
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- name: jshint
run: npx grunt jshint
- name: unit tests
uses:
- browser-actions/setup-firefox@v1

Check failure on line 34 in .github/workflows/node.js.yml

View workflow run for this annotation

GitHub Actions / Teste de Unidade

Invalid workflow file

The workflow is not valid. .github/workflows/node.js.yml (Line: 34, Col: 9): A sequence was not expected .github/workflows/node.js.yml (Line: 36, Col: 7): Unexpected value 'run'
- browser-actions/setup-chrome@v1
run: npx grunt karma:unit