Skip to content

Commit

Permalink
regroup discojs projects into parent dir
Browse files Browse the repository at this point in the history
  • Loading branch information
s314cy committed Oct 22, 2022
1 parent 11bdf1e commit 8f8c657
Show file tree
Hide file tree
Showing 165 changed files with 8,876 additions and 267 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/deploy-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: checkout
uses: actions/checkout@v2

- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.node_version }}
cache: npm
cache-dependency-path: |
discojs/package-lock.json
server/package-lock.json
- name: build discojs
run: npm ci && npm run build
- run: npm ci
working-directory: discojs
- run: npm run build
working-directory: discojs/discojs-node

- name: authenticate-to-google-cloud
uses: "google-github-actions/auth@v0"
Expand Down
17 changes: 6 additions & 11 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,20 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2

- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.node_version }}
cache: npm
cache-dependency-path: |
discojs/package-lock.json
browser/package-lock.json
- name: build discojs
run: npm ci && npm run build
- run: npm ci
working-directory: discojs

- name: install-and-build
run: |
npm ci
npm run build
- run: npm run build
working-directory: discojs/discojs
- run: npm ci && npm run build
working-directory: browser

- name: deploy
Expand Down
Loading

0 comments on commit 8f8c657

Please sign in to comment.