Skip to content

fix: message time

fix: message time #17

Workflow file for this run

name: Build
on:
push:
branches: ["main"]
paths-ignore:
- '.devops/**'
- '.github/**'
- '.vscode/**'
- '.idea/**'
- '.*/**' # All dotfolders in root
- './.*' # All dotfiles in root
- '**/*.config.js'
- '**/*.config.ts'
- '*.md'
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: "npm"
- name: Cache node modules
id: cache-npm
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build