Skip to content

Merge pull request #374 from xapijs/dependabot/npm_and_yarn/follow-re… #28

Merge pull request #374 from xapijs/dependabot/npm_and_yarn/follow-re…

Merge pull request #374 from xapijs/dependabot/npm_and_yarn/follow-re… #28

Workflow file for this run

name: Test
on:
push:
branches:
- 'develop'
pull_request_target:
branches:
- 'develop'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Dependencies
run: npm ci
- name: Prettier
run: npm run test:format
- name: ESLint
run: npm run lint
- name: Build
run: npm run build --if-present
- name: Test
run: npm run test
env:
CI: true
LRS_CREDENTIALS_ARRAY: ${{ secrets.LRS_CREDENTIALS_ARRAY }}
- name: Coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}