Skip to content

Commit 8df13bf

Browse files
committed
add workflows back in
1 parent 61ffc3f commit 8df13bf

5 files changed

Lines changed: 61 additions & 6 deletions

File tree

.github/.dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: /
5+
schedule:
6+
interval: daily
7+
- package-ecosystem: github-actions
8+
directory: /
9+
schedule:
10+
interval: daily

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Continuous Integration
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
merge_group:
8+
types: [checks_requested]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: "20"
19+
- run: npm ci
20+
- name: build
21+
run: npm run build

.github/workflows/deploy.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: "20"
17+
- run: npm ci
18+
- name: build
19+
run: npm run build
20+
- name: Add CNAME to site
21+
run: echo "boajs.dev" > ./build/CNAME
22+
- name: Deploy
23+
uses: peaceiris/actions-gh-pages@v3
24+
with:
25+
publish_dir: ./build
26+
github_token: ${{ secrets.GITHUB_TOKEN }}

blog/2024-03-07-boa-release-18.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ ECMAScript 262 specification is constantly evolving, which is why there are also
251251
changes and additions to existing builtins that keep Boa updated to the latest revisions of the
252252
specification.
253253

254-
All examples were taken from the [Mozilla Web Docs](developer.mozilla.org).
254+
All examples were taken from the [Mozilla Web Docs](https://developer.mozilla.org/en-US).
255255

256256
### [findLast and findLastIndex on TypedArray](https://github.com/boa-dev/boa/pull/3135)
257257

src/components/latestPosts/latestPosts.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1+
import Link from "@docusaurus/Link";
2+
import Heading from "@theme/Heading";
13
import clsx from "clsx";
2-
import React from "react";
34
import styles from "./styles.module.css";
4-
import Heading from "@theme/Heading";
5-
import Link from "@docusaurus/Link";
65

76
export default function LatestPosts({ recentPosts }) {
8-
console.log(recentPosts);
97
return (
108
<div className={clsx("container", styles.wrap)}>
119
<Heading as="h2">Latest posts</Heading>
@@ -32,7 +30,7 @@ export default function LatestPosts({ recentPosts }) {
3230
year: "numeric",
3331
month: "long",
3432
day: "numeric",
35-
},
33+
}
3634
)}
3735
</p>
3836
</div>

0 commit comments

Comments
 (0)