Skip to content

Commit

Permalink
fix: update ci yml
Browse files Browse the repository at this point in the history
  • Loading branch information
isaackps committed Mar 21, 2023
1 parent fd260e9 commit d5bd396
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
test:
name: Test
name: Test & Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Test
run: npm run test
build:
name: Build
name: Build & Release
needs: test
runs-on: ubuntu-latest
steps:
Expand All @@ -49,24 +49,6 @@ jobs:
run: npm ci
- name: Build
run: npm run build
release:
name: Release
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Packages
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit d5bd396

Please sign in to comment.