Skip to content

Commit

Permalink
ci: edit ci steps wd-144
Browse files Browse the repository at this point in the history
  • Loading branch information
what1s1ove committed Nov 30, 2023
1 parent cdc7bb2 commit bc81a9e
Showing 1 changed file with 28 additions and 29 deletions.
57 changes: 28 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,33 +69,32 @@ jobs:
name: Code Linting
needs: dependencies
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v4

- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc

steps:
- name: Code Checkout
uses: actions/checkout@v4

- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc

- name: Install Java v${{ env.JAVA_VERSION }}
uses: actions/setup-java@v1
with:
java-version: ${{ env.JAVA_VERSION }}
architecture: x64

- name: Restore Dependencies
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ci-

- name: Code Building
run: |
make build
- name: Code Linting
run: |
make lint
- name: Install Java v${{ env.JAVA_VERSION }}
uses: actions/setup-java@v1
with:
java-version: ${{ env.JAVA_VERSION }}
architecture: x64

- name: Restore Dependencies
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ci-

- name: Code Building
run: |
make build
- name: Code Linting
run: |
make lint

0 comments on commit bc81a9e

Please sign in to comment.