This repository has been archived by the owner on Jan 26, 2025. It is now read-only.
Bump webpack-dev-middleware from 5.3.1 to 5.3.4 (#99) #67
Workflow file for this run
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
name: Tests and push apps | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
style: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@master | |
- name: Setup node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
uses: borales/[email protected] | |
with: | |
cmd: install | |
- name: Check code formatting | |
uses: borales/[email protected] | |
with: | |
cmd: prettier --check | |
- name: Check code linting | |
uses: borales/[email protected] | |
with: | |
cmd: lint | |
dashboard: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@master | |
- name: Setup node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
uses: borales/[email protected] | |
with: | |
cmd: install | |
- name: Check code typing | |
uses: borales/[email protected] | |
with: | |
cmd: typecheck | |
- name: Run unit tests | |
uses: borales/[email protected] | |
with: | |
cmd: test --coverage | |
- name: Codecov | |
uses: codecov/codecov-action@v2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true | |
verbose: true | |
build: | |
runs-on: ubuntu-latest | |
needs: [style, dashboard] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@master | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v2 | |
with: | |
push: true | |
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7 | |
tags: | | |
phntxx/dashboard:latest | |
ghcr.io/phntxx/dashboard:latest |