Skip to content
name: Continuous Integration Develop
on:
pull_request:
branches:
- develop
- master
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 20.x
- name: Rename .env.example to .env
run: mv .env.example .env
- name: Run install, build, and test
run: |
npm install
npm run build
npm run test