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 committed 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
@@ -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
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
@@ -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

0 comments on commit 80cb4d4

Please sign in to comment.