diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 100% rename from .eslintrc.js rename to .eslintrc.cjs diff --git a/.github/workflows/test.yml-template b/.github/workflows/test.yml-template new file mode 100644 index 000000000..bb13dfc45 --- /dev/null +++ b/.github/workflows/test.yml-template @@ -0,0 +1,23 @@ +name: Test + +on: + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [20.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm test diff --git a/declarations.d.ts b/declarations.d.ts new file mode 100644 index 000000000..4a35718c5 --- /dev/null +++ b/declarations.d.ts @@ -0,0 +1,6 @@ +declare module "*.scss" { + const content: { [className: string]: string }; + export default content; +} + +declare module "*.css"; diff --git a/index.html b/index.html new file mode 100644 index 000000000..be360ad2b --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + +
+ + + +