forked from coralproject/talk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Robin Aguilar
committed
May 8, 2023
1 parent
66cd00b
commit 9d0577a
Showing
1 changed file
with
31 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,30 +38,30 @@ jobs: | |
- | ||
name: Define SHORT_SHA with commit short sha | ||
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV | ||
- | ||
name: Setup Node14.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '14.x' | ||
- | ||
name: Install npm 8 | ||
run: npm i -g [email protected] --registry=https://registry.npmjs.org | ||
- | ||
name: npm Lockfile Version | ||
uses: mansona/npm-lockfile-version@v1 | ||
with: | ||
version: 2 | ||
- | ||
name: Cache Dependencies | ||
id: cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ./node_modules | ||
key: modules-${{ hashFiles('package-lock.json') }} | ||
restore-keys: npm- | ||
- | ||
name: npm ci | ||
run: npm ci | ||
# - | ||
# name: Setup Node14.x | ||
# uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: '14.x' | ||
# - | ||
# name: Install npm 8 | ||
# run: npm i -g [email protected] --registry=https://registry.npmjs.org | ||
# - | ||
# name: npm Lockfile Version | ||
# uses: mansona/npm-lockfile-version@v1 | ||
# with: | ||
# version: 2 | ||
# - | ||
# name: Cache Dependencies | ||
# id: cache | ||
# uses: actions/cache@v3 | ||
# with: | ||
# path: ./node_modules | ||
# key: modules-${{ hashFiles('package-lock.json') }} | ||
# restore-keys: npm- | ||
# - | ||
# name: npm ci | ||
# run: npm ci | ||
# - | ||
# name: Generate schemas and types | ||
# run: npm run generate | ||
|
@@ -88,19 +88,19 @@ jobs: | |
# - | ||
# name: Run Client Other Unit Tests | ||
# run: npm run test:client:other -- --ci --runInBand --reporters=default --reporters=jest-junit | ||
- | ||
name: Build | ||
run: npm run build | ||
- | ||
name: Verify Bundle Size | ||
run: ./node_modules/.bin/bundlesize --enable-github-checks | ||
# - | ||
# name: Build | ||
# run: npm run build | ||
# - | ||
# name: Verify Bundle Size | ||
# run: ./node_modules/.bin/bundlesize --enable-github-checks | ||
# Build tag push the image after a merge to develop | ||
- | ||
name: Build, Tag, Push | ||
uses: docker/build-push-action@v4 | ||
# if: github.ref == 'refs/heads/develop' | ||
with: | ||
# push: true | ||
push: true | ||
# tags: ${{ env.IMAGE_REPOSITORY }}:develop-latest | ||
build-args: | | ||
REVISION_HASH=${GITHUB_SHA} | ||
|