Skip to content

Commit

Permalink
feat(actions): workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyrlex committed Jul 4, 2024
1 parent 3e60576 commit 5591f4b
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Continuous Integration / Deployment

on:
push:
branches:
- '**'
pull_request:

jobs:
install:
name: ESLint and TypeScript compilation
runs-on: ubuntu-latest

strategy:
matrix:
node: [20]

steps:
- name: Checkout Project
uses: actions/checkout@v3

- name: Setup Node.js v20
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
registry-url: https://registry.npmjs.org/

- name: Install Dependencies
run: npm ci

- name: Lint Source Code
run: npm run lint

- name: Compile Source Code
run: npm run build:ci

0 comments on commit 5591f4b

Please sign in to comment.