Skip to content

Commit f8d49be

Browse files
authored
Merge pull request #38 from Open-SL/feature/migrate-vite
feat: Migrate to asdf and yarn
2 parents d05e0e5 + e941aff commit f8d49be

File tree

7 files changed

+14614
-30795
lines changed

7 files changed

+14614
-30795
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [16.x]
13+
node-version: [22.x]
1414
steps:
1515
- name: Checkout code
1616
uses: actions/checkout@v3
@@ -20,16 +20,14 @@ jobs:
2020
- name: Set up Node.js
2121
uses: actions/setup-node@v2
2222
with:
23-
node-version: "16"
23+
node-version: "22"
2424

25-
- name: Install Packages
26-
run: npm install
27-
28-
- name: Run Tests
29-
run: npm run test
30-
31-
- name: Build page
32-
run: npm run build
25+
- name: Install dependencies, test and build
26+
run: |
27+
corepack enable
28+
yarn install
29+
yarn test
30+
yarn run build
3331
3432
- name: Deploy to gh-pages
3533
uses: peaceiris/actions-gh-pages@v4

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,9 @@
2121
npm-debug.log*
2222
yarn-debug.log*
2323
yarn-error.log*
24+
25+
# Yarn
26+
.yarn
27+
28+
#pnp
29+
.pnp.*

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodejs 22.11.0

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

0 commit comments

Comments
 (0)