Skip to content

Merge pull request #32 from near/run_test_on_merge #3

Merge pull request #32 from near/run_test_on_merge

Merge pull request #32 from near/run_test_on_merge #3

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
build-and-test:
name: build-and-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
version: 8.5.1
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Run build & test
run: npm run build && npm test