Skip to content

Commit

Permalink
fix workflow yaml
Browse files Browse the repository at this point in the history
also remove travis
  • Loading branch information
capaj committed Sep 23, 2021
1 parent 7d51478 commit 2ec15ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ name: Node.js CI

on:
push:
branches: [main]
branches: [master]
pull_request:
branches: [main]
branches: [master]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x]
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm ci
- run: npm run build --if-present
- run: npm test
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

0 comments on commit 2ec15ca

Please sign in to comment.