Skip to content

triggering for build.yml fixed #29

triggering for build.yml fixed

triggering for build.yml fixed #29

Workflow file for this run

name: Build CI
on:
push:
branches-ignore:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Cache node modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint
working-directory: ./
- name: Build
run: npm run build