This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |