Skip to content

build(deps): bump express from 4.19.2 to 4.21.2 #149

build(deps): bump express from 4.19.2 to 4.21.2

build(deps): bump express from 4.19.2 to 4.21.2 #149

Workflow file for this run

# Test workflow only runs angular build.
# It should run tests as well.
name: Test
on:
push:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 18.x
- id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --non-interactive --frozen-lockfile --prefer-offline
- name: Test
run: yarn test -- --watch=false --browsers=ChromeHeadless
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 18.x
- id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --non-interactive --frozen-lockfile --prefer-offline
- name: Lint
run: yarn lint
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: docker/metadata-action@v3
name: Extract metadata (tags, labels) and establish version
id: meta
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-docs
tags: |
type=ref,event=pr
- uses: docker/build-push-action@v2
name: Build and push image
with:
build-args: |
VERSION=${{ steps.meta.outputs.version }}
context: docs
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}