mirror of
https://github.com/remoteintech/remote-jobs
synced 2024-12-30 22:28:45 +00:00
14d0afbe24
update to use main rather than versions [ref](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-public-action) Signed-off-by: Doug Aitken <dougaitken@users.noreply.github.com>
23 lines
361 B
YAML
23 lines
361 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@main
|
|
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@main
|
|
|
|
- name: Install dependencies
|
|
run: npm install
|
|
|
|
- name: Run validation
|
|
run: npm run validate
|