Skip to content

Commit

Permalink
ci: extended some jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dokuqui committed Feb 18, 2024
1 parent 5da9605 commit 34fdfc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
28 changes: 1 addition & 27 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,27 +59,6 @@ jobs:
mkdir -p ~/.npm
cp -R node_modules ~/.npm/
build:
name: Build
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
with:
version: latest
run_install: true
- name: Build
run: pnpm run build
- name: Upload build
uses: actions/upload-artifact@v3
with:
name: build
path: dist

test:
runs-on: ubuntu-latest
needs: install
Expand Down Expand Up @@ -113,7 +92,7 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'push'
needs:
- build
- lint
- test
steps:
- uses: actions/checkout@v3
Expand All @@ -126,11 +105,6 @@ jobs:
version: latest
run_install: |
- recursive: false
- name: Download build
uses: actions/download-artifact@v3
with:
name: build
path: dist
- run: mkdir -p docs
- run: pnpx semantic-release
env:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"jest": "^29.5.0"
},
"author": "Semenov Illia",
"license": "ISC",
"license": "MIT",
"dependencies": {
"@semantic-release/error": "github:semantic-release/error"
},
Expand Down

0 comments on commit 34fdfc4

Please sign in to comment.