33 lines
542 B
YAML
33 lines
542 B
YAML
name: Testing
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
testing:
|
|
name: Testing
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install NodeJS
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
registry-url: https://npm.pkg.github.com
|
|
scope: "@eveshipfit"
|
|
env:
|
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Install dependencies
|
|
run: npm install
|
|
|
|
- name: Run linter
|
|
run: npm run lint
|