mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-06-23 12:54:21 +00:00
Added Dependabot and GitHub Action
This commit is contained in:
parent
f3e2f01bd7
commit
817cd7f92d
2 changed files with 46 additions and 0 deletions
29
.github/workflows/build-lint.yml
vendored
Normal file
29
.github/workflows/build-lint.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
name: Build and Lint
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [21.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: yarn
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
- name: Lint
|
||||
run: |
|
||||
npm run lint
|
Loading…
Add table
Add a link
Reference in a new issue