Skip to content

Commit

Permalink
add workflows back in
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwilliams committed Mar 6, 2024
1 parent 61ffc3f commit 8df13bf
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 6 deletions.
10 changes: 10 additions & 0 deletions .github/.dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: npm
directory: /
schedule:
interval: daily
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Continuous Integration

on:
pull_request:
branches:
- main
merge_group:
types: [checks_requested]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: npm ci
- name: build
run: npm run build
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: npm ci
- name: build
run: npm run build
- name: Add CNAME to site
run: echo "boajs.dev" > ./build/CNAME
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./build
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion blog/2024-03-07-boa-release-18.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ ECMAScript 262 specification is constantly evolving, which is why there are also
changes and additions to existing builtins that keep Boa updated to the latest revisions of the
specification.

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

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

Expand Down
8 changes: 3 additions & 5 deletions src/components/latestPosts/latestPosts.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import Link from "@docusaurus/Link";
import Heading from "@theme/Heading";
import clsx from "clsx";
import React from "react";
import styles from "./styles.module.css";
import Heading from "@theme/Heading";
import Link from "@docusaurus/Link";

export default function LatestPosts({ recentPosts }) {
console.log(recentPosts);
return (
<div className={clsx("container", styles.wrap)}>
<Heading as="h2">Latest posts</Heading>
Expand All @@ -32,7 +30,7 @@ export default function LatestPosts({ recentPosts }) {
year: "numeric",
month: "long",
day: "numeric",
},
}
)}
</p>
</div>
Expand Down

0 comments on commit 8df13bf

Please sign in to comment.