Skip to content

Commit

Permalink
ci(release): remove unnecesary actions and update actions/checkout (#7
Browse files Browse the repository at this point in the history
)
  • Loading branch information
gr2m committed Jul 31, 2023
1 parent 2654ac9 commit 6df915c
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/release.yml
Expand Up @@ -21,18 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "☁️ checkout repository"
uses: actions/checkout@v2

- name: "🔧 setup node"
uses: actions/setup-node@v2.1.5
with:
node-version: 16

- name: "🔧 install npm@latest"
run: npm i -g npm@latest

- name: "📦 install dependencies"
uses: bahmutov/npm-install@v1
uses: actions/checkout@v3

- name: "📊 repository visualizer"
id: diagram
Expand All @@ -44,7 +33,7 @@ jobs:
root_path: "src/"

- name: "📊 visualiser artifacts"
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: diagram
path: public/diagram.svg
Expand All @@ -60,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "☁️ checkout repository"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -69,7 +58,7 @@ jobs:
rm -rf public/diagram.svg
- name: "📂 download diagram artifacts"
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: diagram
path: public/
Expand Down

0 comments on commit 6df915c

Please sign in to comment.