Skip to content

Commit

Permalink
feat: init CI
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianBx committed Nov 17, 2023
1 parent fef7421 commit b237c58
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CI

on: [push, pull_request]

jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install Dependencies
run: pnpm install
- name: Run Linter
run: pnpm run lint
- name: Run Tests
run: pnpm run test
7 changes: 0 additions & 7 deletions src/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ const emailLink =
const filteredMenuItems = computed(() => {
return menuItems.filter((item) => item.name !== "Contact");
});
// const handleEnterKeyPress = (link: string): void => {
// const element = document.querySelector(link);
// if (element) {
// element.scrollIntoView({ behavior: "smooth" });
// }
// };
</script>

<template>
Expand Down

0 comments on commit b237c58

Please sign in to comment.