Skip to content

Commit 0c4d6ab

Browse files
Merge pull request #16 from VoloshchenkoAl/develop
merge develop into main
2 parents facbc0f + 5ed8809 commit 0c4d6ab

File tree

3 files changed

+19
-28
lines changed

3 files changed

+19
-28
lines changed

.github/workflows/buildAndDeploy.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,20 @@ jobs:
2828
tag_name: ${{ steps.changelog.outputs.tag }}
2929
release_name: ${{ steps.changelog.outputs.tag }}
3030
body: ${{ steps.changelog.outputs.clean_changelog }}
31+
32+
- name: Setup Node
33+
if: ${{ steps.changelog.outputs.skipped == 'false' }}
34+
uses: actions/[email protected]
35+
with:
36+
node-version: '12.x'
37+
38+
- name: Install and Build
39+
if: ${{ steps.changelog.outputs.skipped == 'false' }}
40+
run: |
41+
npm ci
42+
npm run build
43+
- name: Deploy
44+
uses: peaceiris/actions-gh-pages@v3
45+
with:
46+
github_token: ${{ secrets.GITHUB_TOKEN }}
47+
publish_dir: ./build

src/app.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ const update = () => {
1818
requestAnimationFrame(update);
1919

2020
const highlightButtons = document.querySelectorAll('[data-pointer-type="highlight"]');
21-
const liftButtons = document.querySelectorAll('[data-pointer-type="lift"]');
22-
const contentBlocks = document.querySelectorAll('[data-pointer-type="content"]');
2321

2422
highlightButtons.forEach((highlightButton) => {
2523
highlightButton.addEventListener('mouseenter', (e) => {
@@ -33,6 +31,7 @@ highlightButtons.forEach((highlightButton) => {
3331
});
3432
});
3533

34+
const liftButtons = document.querySelectorAll('[data-pointer-type="lift"]');
3635
liftButtons.forEach((liftButton) => {
3736
liftButton.addEventListener('mouseenter', (e) => {
3837
const element = e.currentTarget as HTMLElement;
@@ -45,6 +44,7 @@ liftButtons.forEach((liftButton) => {
4544
});
4645
});
4746

47+
const contentBlocks = document.querySelectorAll('[data-pointer-type="content"]');
4848
contentBlocks.forEach(contentBlock => {
4949
contentBlock.addEventListener('mouseenter', (e) => {
5050
const element = e.currentTarget as HTMLElement;

0 commit comments

Comments
 (0)