Skip to content

Commit

Permalink
Add Remix template (#2187)
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer authored Jul 21, 2023
1 parent 35f42ec commit 80cb4d4
Show file tree
Hide file tree
Showing 27 changed files with 7,932 additions and 1,218 deletions.
5 changes: 5 additions & 0 deletions .changeset/swift-bats-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sumup/remix-template-circuit-ui': major
---

Added the first Circuit UI + Remix template.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,11 @@ module.exports = require('@sumup/foundry/eslint')({
'node/no-unpublished-require': 'off',
},
},
{
files: ['packages/remix-template/**/*'],
rules: {
'notice/notice': 'off',
},
},
],
});
11 changes: 8 additions & 3 deletions .github/workflows/cna.yml → .github/workflows/templates.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create SumUp Next App
name: Circuit UI App Templates

on:
schedule:
Expand All @@ -10,7 +10,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18]
node: [18, 20]
template:
[
npx create-next-app --example "https://github.com/sumup-oss/circuit-ui/tree/main/packages/cna-template/template" test-app,
npx create-remix@latest ./test-app --template https://github.com/sumup-oss/circuit-ui/tree/main/packages/remix-template,
]
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -22,7 +27,7 @@ jobs:
cache: 'npm'

- name: Bootstrap app
run: npx create-next-app --example "https://github.com/sumup-oss/circuit-ui/tree/main/packages/cna-template/template" test-app
run: ${{ matrix.template }}

- name: Build app
working-directory: ./test-app
Expand Down
Loading

0 comments on commit 80cb4d4

Please sign in to comment.