Skip to content

Commit

Permalink
Merge pull request #8 from amorey/ci
Browse files Browse the repository at this point in the history
Removes upload/download-artifact from ci
  • Loading branch information
amorey authored Apr 6, 2024
2 parents 00bf7e3 + 8eafb5b commit b73f74d
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 b73f74d

Please sign in to comment.