Skip to content

Commit

Permalink
ci: add build github action
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinWeb committed Jan 11, 2024
1 parent 11290ca commit 1b3e8b1
Show file tree
Hide file tree
Showing 8 changed files with 217 additions and 137 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on:
pull_request:
branches:
- main

jobs:
build:
if: github.repository_owner == 'AxaFrance'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "*" # Use the LTS Node.js version
cache: "npm"
- run: npm run package:check
- run: npm ci
- run: npm run lint -- --max-processes 1
- run: npm run build
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
storybook-static/
node_modules/
dist/
.turbo/
*.DS_Store
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
registry=https://registry.npmjs.org/
save-exact=false
save-prefix="^"
284 changes: 185 additions & 99 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1b3e8b1

Please sign in to comment.