Skip to content

Commit

Permalink
⬆️ Upgrade some actions
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
  • Loading branch information
mhkarimi1383 committed Oct 17, 2024
1 parent a029c90 commit 3463da8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,23 @@ jobs:
languages: 'go, javascript'

- name: Setup pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
run_install: false
package_json_file: ui/package.json
version: 8
version: 9

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache-dependency-path: ui/pnpm-lock.yaml
cache: 'pnpm'

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'

# We don't want to build the entire frondend, so we are using standalone npm ci
- name: Install frontend packages (w/o go generate)
Expand All @@ -81,7 +81,7 @@ jobs:
- name: Run ESLint
working-directory: ./ui
run: npx --yes eslint . --config .eslintrc.cjs --ignore-path .gitignore --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --format @microsoft/eslint-formatter-sarif --output-file eslint-results.sarif
run: npx --yes eslint . --format @microsoft/eslint-formatter-sarif --output-file eslint-results.sarif
continue-on-error: true

- name: Upload analysis results to GitHub
Expand Down

0 comments on commit 3463da8

Please sign in to comment.