Skip to content

Improve ci

Improve ci #1

Workflow file for this run

name: build-and-test-prs
'on':
pull_request:
types:
- opened
- synchronize
permissions:
contents: read
jobs:
made-with-tpgha:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Setting up NodeJs
id: setup-node-js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: npm ci
run: npm ci --ignore-scripts
shell: bash
- name: npm run lint
run: npm run lint
shell: bash
- name: npm run test
run: npm run test
shell: bash
- name: npm run build
run: npm run build
shell: bash