Skip to content

Commit

Permalink
fix: snyk check (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
simboonlong authored Aug 21, 2023
1 parent 1c9de6f commit 5c16ab9
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion application/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 5c16ab9

Please sign in to comment.