Skip to content

test: change travis to github action #6

test: change travis to github action

test: change travis to github action #6

Workflow file for this run

name: build
on: [push, pull_request]
concurrency:
group: ${{github.workflow}}-${{github.event_name}}-${{github.ref}}
cancel-in-progress: true
jobs:
test-and-build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: [8, 9, 10, 11, 12, 13]

Check failure on line 19 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 19, Col: 25): A sequence was not expected
- name: Install Dependencies
run: npm install
- name: Run build & test
run: |
npm run build
- name: Coveralls GitHub Action
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}