diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml new file mode 100644 index 00000000..ef3f0670 --- /dev/null +++ b/.github/workflows/pipeline.yml @@ -0,0 +1,45 @@ +name: MipsCode Pipeline + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + steps: + - name: copy files from repository + uses: actions/checkout@v3 + + - name: set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '20' + + - name: install dependencies + run: | + cd backend + npm install + + - name: build backend + run: | + cd backend + npm run build + + - name: install dependencies + run: | + cd frontend + npm install + + - name: build frontend + run: | + cd frontend + npm run build + + + + + diff --git a/.github/worksflor/pipeline.yml b/.github/worksflor/pipeline.yml new file mode 100644 index 00000000..ef3f0670 --- /dev/null +++ b/.github/worksflor/pipeline.yml @@ -0,0 +1,45 @@ +name: MipsCode Pipeline + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + steps: + - name: copy files from repository + uses: actions/checkout@v3 + + - name: set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '20' + + - name: install dependencies + run: | + cd backend + npm install + + - name: build backend + run: | + cd backend + npm run build + + - name: install dependencies + run: | + cd frontend + npm install + + - name: build frontend + run: | + cd frontend + npm run build + + + + + diff --git a/frontend/src/features/GerenciarProjeto/pages/CriarProjeto/index.tsx b/frontend/src/features/GerenciarProjeto/pages/CriarProjeto/index.tsx index 89406c34..b3fdac62 100644 --- a/frontend/src/features/GerenciarProjeto/pages/CriarProjeto/index.tsx +++ b/frontend/src/features/GerenciarProjeto/pages/CriarProjeto/index.tsx @@ -76,9 +76,9 @@ const CriarProjeto = () => { } } - const handleCloseFeedback = () => { - setShowFeedback(false); - }; +// const handleCloseFeedback = () => { +// setShowFeedback(false); +// }; return ( <>