Skip to content

Commit

Permalink
chore(ci): setup ci workflows for codebase integrity (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
EstebanBorai authored May 15, 2024
1 parent e967223 commit 3ee020b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Continuous Integration

on:
pull_request:
branches: [main]

concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
integrity:
name: Integrity Checks
runs-on: ubuntu-latest
permissions:
contents: write
deployments: write
steps:
- name: Checkout Source
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- name: Setup NodeJS
uses: actions/setup-node@v4

- name: Install Dependencies
run: npm ci

- name: Build for Production
env:
NODE_ENV: production
run: npm run build

0 comments on commit 3ee020b

Please sign in to comment.