Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
chore: add github actions and update netlify
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Wilken <gnomation@gnomeontherun.com>
  • Loading branch information
gnomeontherun committed Jun 15, 2021
1 parent 3c0dd04 commit e39599d
Show file tree
Hide file tree
Showing 8 changed files with 61,130 additions and 20,774 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}-${{ github.base_ref }}
- run: yarn install
- run: yarn build:ci
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}-${{ github.base_ref }}
- run: npm install
- run: npm run build:ci

env:
CI: true
12 changes: 6 additions & 6 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}-${{ github.base_ref }}
- run: yarn install
- run: yarn build:angular
- run: yarn build:dev
- run: yarn build:dev:deploy
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}-${{ github.base_ref }}
- run: npm install
- run: npm run build:angular
- run: npm run build:dev
- run: npm run deploy:dev

env:
CI: true
NETLIFY_SITE_ID: 03fce0dd-9568-4ab2-a3ea-211d856989db
NETLIFY_SITE_ID: 1d483e6d-5fed-4f6d-a085-420cb0f921c3
26 changes: 26 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Website

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'vmware/clarity'

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.x'
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}-${{ github.base_ref }}
- run: npm install
- run: npm run build:angular
- run: npm run build:website
- run: npm run deploy:website

env:
CI: true
NETLIFY_SITE_ID: 1d483e6d-5fed-4f6d-a085-420cb0f921c3
Loading

0 comments on commit e39599d

Please sign in to comment.