Skip to content

Commit

Permalink
removed upload/download-artifact from ci
Browse files Browse the repository at this point in the history
  • Loading branch information
amorey committed Apr 6, 2024
1 parent 6495b4e commit 8eafb5b
Showing 1 changed file with 3 additions and 36 deletions.
39 changes: 3 additions & 36 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,7 @@ on:
- '**'

jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v3
with:
version: 8
- run: pnpm install
- name: Archive node modules
uses: actions/upload-artifact@v3
with:
name: node_modules
path: node_modules
overwrite: true

lint:
needs: setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -35,15 +16,10 @@ jobs:
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Download node modules
uses: actions/download-artifact@v3
with:
name: node_modules
path: node_modules
- run: pnpm install
- run: pnpm lint

test:
needs: setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -53,15 +29,10 @@ jobs:
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Download node modules
uses: actions/download-artifact@v3
with:
name: node_modules
path: node_modules
- run: pnpm install
- run: pnpm test

build:
needs: setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -71,9 +42,5 @@ jobs:
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Download node modules
uses: actions/download-artifact@v3
with:
name: node_modules
path: node_modules
- run: pnpm install
- run: pnpm build

0 comments on commit 8eafb5b

Please sign in to comment.