Skip to content

Commit

Permalink
Simplifica o workflow do github
Browse files Browse the repository at this point in the history
  • Loading branch information
juliomelo committed Sep 5, 2023
1 parent a01f8ad commit 92df02b
Showing 1 changed file with 12 additions and 21 deletions.
33 changes: 12 additions & 21 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,19 @@ on:
branches: [ master, develop ]

jobs:
build:
test:
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
- browser-actions/setup-chrome@v1
run: npx grunt karma:unit
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 18
cache: 'npm'
- run: npm ci
- name: jshint
run: npx grunt jshint
- name: unit tests
run: npx grunt karma:unit

0 comments on commit 92df02b

Please sign in to comment.