Skip to content

Commit

Permalink
[Update] redesign jobs dependencies graph
Browse files Browse the repository at this point in the history
  • Loading branch information
mistricky committed Feb 26, 2024
1 parent bf50e50 commit 96f8c54
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/pack.yaml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,37 @@ on:
- main

jobs:
pack:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup nodejs
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: ./snap-client/package-lock.json

- name: Install deps
working-directory: snap-client
run: npm i

- name: Build package
working-directory: snap-client
run: npm run build

- name: Move into public folder
run: cp -r snap-client/build snap-server/public

- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
message: "[Update] build newest client package"

release:
needs: pack
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 96f8c54

Please sign in to comment.