Skip to content

Commit

Permalink
Update workflows, changes working directory
Browse files Browse the repository at this point in the history
Signed-off-by: Pradyumna Krishna <[email protected]>
  • Loading branch information
PradyumnaKrishna committed Jul 17, 2024
1 parent f604ecc commit 782ddae
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 183 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/client_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- main
paths:
- client/**

workflow_dispatch:

Expand All @@ -15,14 +13,11 @@ permissions:
id-token: write

concurrency:
group: "pages"
group: 'pages'
cancel-in-progress: false

jobs:
build:
defaults:
run:
working-directory: client
runs-on: ubuntu-latest
env:
VUE_APP_APIURL: ${{ secrets.VUE_APP_APIURL }}
Expand All @@ -42,7 +37,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./client/dist
path: ./dist

deploy:
environment:
Expand Down
38 changes: 18 additions & 20 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: "CodeQL"
name: 'CodeQL'

on:
push:
branches: [ "main" ]
branches: ['main']
pull_request:
branches: [ "main" ]

branches: ['main']

jobs:
analyze:
Expand All @@ -20,22 +19,21 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]


language: ['javascript']

steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: '/language:${{matrix.language}}'
40 changes: 0 additions & 40 deletions .github/workflows/go_build.yml

This file was deleted.

113 changes: 0 additions & 113 deletions .github/workflows/python_build.yml

This file was deleted.

4 changes: 1 addition & 3 deletions .github/workflows/run_eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:

# ESLint and Prettier must be in `package.json`
- name: Install Node.js dependencies
working-directory: ./client
run: npm ci

- name: Run linters
working-directory: ./client
run : npm run lint
run: npm run lint

0 comments on commit 782ddae

Please sign in to comment.