Skip to content

Commit

Permalink
chore: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 5, 2022
1 parent 9f6466f commit ba1613a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,20 @@ jobs:
needs: [build]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16

- run: npm install

- run: npm run build
- run: npm run doc

- run: echo "outputs.version - ${{ needs.build.outputs.version }}"
- run: echo "outputs.create_tag_version - ${{ needs.build.outputs.create_tag_version }}"
- run: echo "outputs.create_tag_versionNumber - ${{ needs.build.outputs.create_tag_versionNumber }}"
- run: echo "outputs.tag - ${{ needs.build.outputs.tag }}"

- uses: actions/download-artifact@v3
with:
name: webiste
path: website/build

# Create Docker Image
- name: Create docker-compliant static resources.
run: npm run docker
Expand Down Expand Up @@ -330,7 +333,7 @@ jobs:
roll_back:
if: failure()
needs: [create_release]
needs: [build, create_release]
runs-on: ubuntu-latest
timeout-minutes: 4
steps:
Expand Down

0 comments on commit ba1613a

Please sign in to comment.