try to test be workflows #7
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: Frontend-ci | |
on: | |
push: | |
branches: [main] | |
paths: 'frontend/**' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: 'frontend/**' | |
jobs: | |
git-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Remove deploy label | |
uses: actions-ecosystem/action-remove-labels@v1 | |
with: | |
labels: "deploy: frontend" | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: "npm" | |
cache-dependency-path: "frontend/package-lock.json" | |
- name: Install deps | |
run: npm install | |
working-directory: "frontend" | |
- name: Run ci | |
run: npm ci | |
working-directory: "frontend" |