Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
  • Loading branch information
masap committed Jan 30, 2025
1 parent 1339a93 commit 7e652ba
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI Workflow

on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Nodejs with yarn caching
uses: actions/setup-node@v4
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install dependencies
run: |
yarn install
- name: Lint Rancher Extension
run: |
cd pkg/supportability-review-app
npm run format-check
- name: Build Rancher Extension
run: |
yarn build-pkg supportability-review-app

0 comments on commit 7e652ba

Please sign in to comment.