diff --git a/.github/workflows/frontend-build-and-test.dev-branch.yml b/.github/workflows/frontend-build-and-test.dev-branch.yml deleted file mode 100644 index 468e325d..00000000 --- a/.github/workflows/frontend-build-and-test.dev-branch.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Build and test backend and frontend for dev branch - -on: - push: - branches: - - dev - - paths: - - science-archive-web/** - -jobs: - build-and-test-frontend: - name: Build and test frontend project - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Set up NodeJS - uses: actions/setup-node@v1 - with: - node-version: "14.x" - - - name: Install dependencies - working-directory: science-archive-web - run: | - npm cache clean --force - npm install - - - name: Build project - working-directory: science-archive-web - run: npm run build - -# TODO When tests will be created uncomment it -# - name: Test project -# working-directory: science-archive-web -# run: npm run test diff --git a/.github/workflows/frontend-build-and-test.other-branches.yml b/.github/workflows/frontend-build-and-test.other-branches.yml deleted file mode 100644 index 65aa2079..00000000 --- a/.github/workflows/frontend-build-and-test.other-branches.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Build and test backend and frontend for features and fixes branches - -on: - push: - branches: - - feature/** - - fix/** - - paths: - - science-archive-web/** - -jobs: - build-and-test-frontend: - name: Build and test frontend project - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Set up NodeJS - uses: actions/setup-node@v1 - with: - node-version: "14.x" - - - name: Install dependencies - working-directory: science-archive-web - run: | - npm cache clean --force - npm install - - - name: Build project - working-directory: science-archive-web - run: npm run build - -# TODO When tests will be created uncomment it -# - name: Test project -# working-directory: science-archive-web -# run: npm run test