Skip to content

Commit

Permalink
Linting & Node fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
gr812b committed Mar 19, 2024
1 parent 40a6568 commit 3624f30
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/javaLinting.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Lint

on: [push]

jobs:
build:
name: Lint
runs-on: ubuntu-latest

permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0

- name: Super-linter
uses: super-linter/[email protected] # x-release-please-version
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion .github/workflows/node.js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4

- run: cd ./front-end

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- run: cd ./front-end
- run: npm ci
- run: npm run build --if-present
- run: npm test

0 comments on commit 3624f30

Please sign in to comment.