Skip to content

Commit bce075a

Browse files
authored
Merge pull request #9 from Unknown15082/stot
Merge source-academy/modules into Unknown15082/modules
2 parents 75a1d20 + 0710d3f commit bce075a

133 files changed

Lines changed: 13004 additions & 8378 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/pages-deploy.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,27 @@ jobs:
1313
uses: actions/checkout@v4
1414
with:
1515
submodules: recursive
16+
17+
- name: Enable Corepack
18+
run: corepack enable
1619

1720
- name: Use Node.js 💻
1821
uses: actions/setup-node@v4
1922
with:
2023
node-version: 20
2124
cache: yarn
2225

23-
- name: Install dependencies (apt)
24-
run: |
25-
sudo apt-get update && \
26-
sudo apt-get install -y --no-install-recommends libxi-dev libgl1-mesa-dev
27-
2826
- name: Install Dependencies 📦
29-
run: yarn install --frozen-lockfile
27+
run: yarn install --immutable
3028

3129
- name: Build Modules 🔧
3230
run: yarn build --tsc --lint
3331

34-
3532
- name: include java json
3633
run: cp -r src/java build
3734

3835
- name: Deploy 🚀
39-
uses: peaceiris/actions-gh-pages@v3
36+
uses: peaceiris/actions-gh-pages@v4
4037
with:
4138
github_token: ${{ secrets.GITHUB_TOKEN }}
4239
publish_dir: ./build # The folder the action should deploy.

.github/workflows/pull-request.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,18 @@ jobs:
1313
uses: actions/checkout@v4
1414
with:
1515
submodules: recursive
16+
17+
- name: Enable Corepack
18+
run: corepack enable
1619

1720
- name: Use Node.js 💻
1821
uses: actions/setup-node@v4
1922
with:
2023
node-version: 20
2124
cache: yarn
2225

23-
- name: Install dependencies (apt)
24-
run: |
25-
sudo apt-get update && \
26-
sudo apt-get install -y --no-install-recommends libxi-dev libgl1-mesa-dev
27-
2826
- name: Install dependencies
29-
run: yarn install --frozen-lockfile
27+
run: yarn install --immutable
3028

3129
- name: Build bundles and tabs
3230
run: yarn build --tsc --lint

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44
node_modules/
55
devserver/node_modules
66
build/*
7-
/package-lock.json
87
coverage/
98

10-
scripts/build/database.json
11-
scripts/bin.js
9+
scripts/dist
1210

1311
# Compiled source #
1412
###################

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "src/java/java-packages"]
22
path = src/java/java-packages
3-
url = https://github.com/source-academy/java-packages
3+
url = ../../source-academy/java-packages.git

.husky/post-checkout

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn yarnhook

.husky/post-merge

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn yarnhook

.husky/post-rewrite

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn yarnhook

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn test --color

.husky/pre-push

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn build --lint --tsc

.vscode/settings.json

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

0 commit comments

Comments
 (0)