Skip to content

Commit

Permalink
chore: setup release docs action
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Romanenko committed Jun 4, 2024
1 parent c3a6f92 commit 7712601
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 38 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release Docs

on:
release:
types: [published]
types: [published, updated]


permissions:
Expand All @@ -19,11 +19,11 @@ jobs:
name: Install Dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
Expand All @@ -35,7 +35,7 @@ jobs:
run: npm run barrel

- name: Share prepared workspace with other jobs
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./
Expand All @@ -47,7 +47,7 @@ jobs:
- install_dependencies
steps:
- name: Download prepared workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./
Expand All @@ -58,7 +58,7 @@ jobs:
cp ./docs/index.html ./docs/404.html
- name: Share prepared dist with other jobs
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "docs:${{github.sha}}"
path: ./docs
Expand All @@ -73,7 +73,7 @@ jobs:
- static_files
steps:
- name: Download prepared workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "docs:${{github.sha}}"
path: ./docs
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release-package-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
name: Install Dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
Expand All @@ -23,7 +23,7 @@ jobs:
run: npm run barrel

- name: Share prepared workspace with other jobs
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./
Expand All @@ -34,7 +34,7 @@ jobs:
needs: [ install_dependencies ]
steps:
- name: Download prepared workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./
Expand All @@ -43,7 +43,7 @@ jobs:
run: npm run build

- name: Share prepared dist with other jobs
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "dist:${{github.sha}}"
path: ./dist
Expand All @@ -54,19 +54,19 @@ jobs:
needs: [ static_files ]
steps:
- name: Download prepared workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./

- name: Download prepared dist
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "dist:${{github.sha}}"
path: ./dist

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
always-auth: true
node-version: 18
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release-package-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
name: Install Dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
Expand All @@ -26,7 +26,7 @@ jobs:
run: npm run barrel

- name: Share prepared workspace with other jobs
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./
Expand All @@ -37,7 +37,7 @@ jobs:
needs: [ install_dependencies ]
steps:
- name: Download prepared workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./
Expand All @@ -46,7 +46,7 @@ jobs:
run: npm run build

- name: Share prepared dist with other jobs
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "dist:${{github.sha}}"
path: ./dist
Expand All @@ -57,19 +57,19 @@ jobs:
needs: [ static_files ]
steps:
- name: Download prepared workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./

- name: Download prepared dist
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "dist:${{github.sha}}"
path: ./dist

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
always-auth: true
node-version: 18
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
name: Install Dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
Expand All @@ -23,7 +23,7 @@ jobs:
run: npm run barrel

- name: Share prepared workspace with other jobs
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./
Expand All @@ -34,7 +34,7 @@ jobs:
needs: [ install_dependencies ]
steps:
- name: Download prepared workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./
Expand All @@ -43,7 +43,7 @@ jobs:
run: npm run build

- name: Share prepared dist with other jobs
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "dist:${{github.sha}}"
path: ./dist
Expand All @@ -54,19 +54,19 @@ jobs:
needs: [ static_files ]
steps:
- name: Download prepared workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./

- name: Download prepared dist
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "dist:${{github.sha}}"
path: ./dist

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
always-auth: true
node-version: 18
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/run-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
name: Install Dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
Expand All @@ -27,7 +27,7 @@ jobs:
run: npm run barrel

- name: Share prepared workspace with other jobs
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./
Expand All @@ -38,7 +38,7 @@ jobs:
needs: [ install_dependencies ]
steps:
- name: Download prepared workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./
Expand All @@ -52,7 +52,7 @@ jobs:
needs: [ install_dependencies ]
steps:
- name: Download prepared workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./
Expand All @@ -66,7 +66,7 @@ jobs:
needs: [ install_dependencies ]
steps:
- name: Download prepared workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./
Expand All @@ -80,7 +80,7 @@ jobs:
needs: [ install_dependencies ]
steps:
- name: Download prepared workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: "workspace:${{github.sha}}"
path: ./
Expand Down

0 comments on commit 7712601

Please sign in to comment.