Skip to content

chore(ci): keep only on push condition #5

chore(ci): keep only on push condition

chore(ci): keep only on push condition #5

Workflow file for this run

name: Lint and Test
on:
push:
branches:
- 'main'
- 'development'
jobs:
lint-and-test:
runs-on: ubuntu-latest
environment:
name: ${{ github.ref_name }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run test