Skip to content

feat: updated packages and tests #16

feat: updated packages and tests

feat: updated packages and tests #16

Workflow file for this run

name: Test
on: [push]
jobs:
lint:
name: Lint project
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install dependencies
run: npm ci
- name: Revert changes into the package-lock.json file
run: git checkout -- package-lock.json
- name: Run lint action
uses: wearerequired/lint-action@v2
with:
auto_fix: true
eslint: true
eslint_extensions: js
test:
name: Testing TPG
runs-on: ubuntu-latest
needs: lint
steps:
- name: Check out Git repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 6.x.x
- name: Install dependencies
run: npm ci
- name: Run test
run: npm run test:ci