✨ Feature: Preserve Existing .env
File and Update Values if Present
#16
Workflow file for this run
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: 🌱 unit-tests | |
on: | |
workflow_dispatch: {} | |
pull_request: | |
branches: | |
- "*" | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
paths: | |
- ".github/workflows/unit-tests.yml" | |
- "src/**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
envilder-test: | |
runs-on: ubuntu-24.04 | |
if: ${{ !github.event.pull_request.draft }} | |
timeout-minutes: 30 | |
steps: | |
- name: 🚀 ♂️ Checkout | |
uses: actions/checkout@v4 | |
- name: 🛠️ Setup Node.js with Cache | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
cache: 'yarn' | |
- name: 📦 Install packages | |
run: yarn install | |
- name: 🔍 Run code quality checker | |
run: yarn lint | |
- name: 🚧 Build | |
run: yarn build | |
- name: 🚴♀️ Run unit tests | |
run: yarn test |