Skip to content

Commit

Permalink
Merge pull request #4 from TheNetsky/0.8
Browse files Browse the repository at this point in the history
Update personal repository to match TheNetsky's
  • Loading branch information
milesoc authored Aug 17, 2024
2 parents df74416 + 53e0ec3 commit 15a4950
Show file tree
Hide file tree
Showing 13 changed files with 1,110 additions and 5,232 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deletion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
echo "Clean up for branch ${{ github.event.ref }}"
- name: Checkout Branch
uses: actions/checkout@v2
uses: actions/checkout@v4.1.2

- name: Checkout existing bundles
uses: actions/checkout@v2
uses: actions/checkout@v4.1.2
continue-on-error: true
with:
ref: gh-pages
Expand All @@ -26,7 +26,7 @@ jobs:
- run: rm -rf bundles/${{ github.event.ref }}

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.0
uses: JamesIves/github-pages-deploy-action@4.6.1
with:
branch: gh-pages
folder: bundles
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- name: Checkout Branch
uses: actions/checkout@v2
uses: actions/checkout@v4.1.2

- name: Setup Node.js environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.2
with:
node-version: ${{ matrix.node-version }}

- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
id: extract_branch

- name: Checkout existing bundles
uses: actions/checkout@v2
uses: actions/checkout@v4.1.2
continue-on-error: true
with:
ref: gh-pages
Expand All @@ -38,7 +38,7 @@ jobs:
- run: npm run bundle -- --folder=${{ steps.extract_branch.outputs.branch }}

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
branch: gh-pages
folder: bundles
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,6 @@ dist
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
.pnp.*

package-lock.json
Loading

0 comments on commit 15a4950

Please sign in to comment.