mirror of
https://github.com/remoteintech/remote-jobs
synced 2024-12-27 04:43:09 +00:00
26 lines
404 B
YAML
26 lines
404 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v1
|
|
|
|
- name: Install dependencies
|
|
run: npm install
|
|
|
|
- name: Run validation
|
|
run: npm run validate
|
|
|
|
- name: Run tests
|
|
run: npm test
|