diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 0000000..4cf9c91 --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,22 @@ +name: CI +on: + push: +jobs: + test: + name: Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16.20.2 + - name: Clean Install + run: npm ci + - name: Check Snyk + uses: snyk/actions/node@master + env: + SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} + - name: Build Storybook + run: npm run build-storybook + - name: Build App + run: npm run build diff --git a/application/app.js b/application/app.js index c255186..9e4b484 100644 --- a/application/app.js +++ b/application/app.js @@ -29,7 +29,7 @@ frame.dispatch(getTemplatesAction).then((templates) => { templates.forEach((tab) => { const btn = document.createElement("button"); - btn.innerHTML = tab.label; + btn.innerHTML = `${tab.label}`; btn.id = `selector-${tab.id}`; btn.onclick = () => { frame.dispatch(selectTemplateAction(tab.id)); diff --git a/package-lock.json b/package-lock.json index c54892d..eddc2ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { - "name": "vite", - "version": "0.0.0", + "name": "tradetrust-decentralized-renderer", + "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 5d78808..461cf35 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "vite", + "name": "tradetrust-decentralized-renderer", "private": true, - "version": "0.0.0", + "version": "1.0.0", "type": "module", "scripts": { "start": "concurrently 'npm run storybook' 'npm run dev' 'cd application && npx http-server' --kill-others",