Skip to content

Merge pull request #39 from KID-joker/workflow-release #50

Merge pull request #39 from KID-joker/workflow-release

Merge pull request #39 from KID-joker/workflow-release #50

Workflow file for this run

# This workflow will do a clean install of node dependencies, check the linting and run tests across different versions of node.
name: Automated Tests
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
permissions:
contents: write
pull-requests: write
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
node-version: [16]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
check-latest: true
- name: Install pnpm
run: npm install -g pnpm@8
- name: Install dependencies
run: pnpm --silent install
- name: Run tests
run: pnpm run test