-
Notifications
You must be signed in to change notification settings - Fork 0
Setup github actions ci and docker ci #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Changes from all commits
f3b5feb
623e52d
0c5da95
5e0cf33
fb95db9
ce95752
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| --- | ||
| name: Lint Actions | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [opened, reopened, synchronize] | ||
| branches: [main, development] | ||
|
|
||
| jobs: | ||
| lint: | ||
| strategy: | ||
| matrix: | ||
| os: [ubuntu-latest] | ||
| node_version: [24.x] | ||
| runs-on: ${{ matrix.os }} | ||
| steps: | ||
| - run: echo "Running pdxhub actionslint for branch ${{ github.ref_name }}" | ||
| - uses: actions/checkout@v4 | ||
| - name: Actions Lint | ||
| uses: raven-actions/actionlint@v2 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| --- | ||
| name: CI | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [opened, reopened, synchronize] | ||
| branches: [main, development] | ||
| push: | ||
| branches: [main, development] | ||
|
|
||
| jobs: | ||
| ci: | ||
| strategy: | ||
| matrix: | ||
| os: [ubuntu-latest] | ||
| runs-on: ${{ matrix.os }} | ||
|
Comment on lines
+13
to
+16
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as other file |
||
| steps: | ||
| - run: echo "Running pdxhub ci for branch ${{ github.ref_name }}" | ||
| - uses: actions/checkout@v4 | ||
| - uses: oven-sh/setup-bun@v2 | ||
| - run: bun install --frozen-lockfile | ||
| - run: bun run lint | ||
| - run: bun run build | ||
| docker_ci: | ||
| strategy: | ||
| matrix: | ||
| os: [ubuntu-latest] | ||
| runs-on: ${{ matrix.os }} | ||
|
Comment on lines
+25
to
+28
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as above |
||
| steps: | ||
| - run: echo "Checking the Docker Build for branch ${{ github.ref_name }}" | ||
| - uses: actions/checkout@v4 | ||
| - name: Setup Docker | ||
| uses: docker/setup-docker-action@v5 | ||
| - run: docker build . | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think anything here uses this node version and the os is otherwise isolated so we should be able to run this without the matrix and just
runs-on:toubuntu-latest.this could reduce a little build overhead.
docs