Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: NodeJS with Webpack

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Build
run: |
npm install
npx webpack
3 changes: 2 additions & 1 deletion src/frame/lib/frontmatter.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
src/frame/lib/frontmatter.ts

Check failure on line 1 in src/frame/lib/frontmatter.ts

View workflow job for this annotation

GitHub Actions / lint-code

'lib' is not defined

Check failure on line 1 in src/frame/lib/frontmatter.ts

View workflow job for this annotation

GitHub Actions / lint-code

'frame' is not defined

Check failure on line 1 in src/frame/lib/frontmatter.ts

View workflow job for this annotation

GitHub Actions / lint-code

Replace `/frame/lib/` with `·/·frame·/·lib·/·`

Check failure on line 1 in src/frame/lib/frontmatter.ts

View workflow job for this annotation

GitHub Actions / lint-code

'src' is not defined

Check failure on line 1 in src/frame/lib/frontmatter.ts

View workflow job for this annotation

GitHub Actions / lint-code

Expected an assignment or function call and instead saw an expression
// when updating to typescript,
// update links in content/contributing as well

import parse from '@/frame/lib/read-frontmatter'

Check failure on line 5 in src/frame/lib/frontmatter.ts

View workflow job for this annotation

GitHub Actions / lint-code

Import in body of module; reorder to top
import { allVersions } from '@/versions/lib/all-versions'

Check failure on line 6 in src/frame/lib/frontmatter.ts

View workflow job for this annotation

GitHub Actions / lint-code

Import in body of module; reorder to top
import { allTools } from '@/tools/lib/all-tools'

Check failure on line 7 in src/frame/lib/frontmatter.ts

View workflow job for this annotation

GitHub Actions / lint-code

Import in body of module; reorder to top
import { getDeepDataByLanguage } from '@/data-directory/lib/get-data'

Check failure on line 8 in src/frame/lib/frontmatter.ts

View workflow job for this annotation

GitHub Actions / lint-code

Import in body of module; reorder to top

interface SchemaProperty {
type?: string | string[]
Expand Down Expand Up @@ -254,7 +255,7 @@
type: 'array',
items: {
type: 'string',
enum: docsTeamMetricsEnum,
enum: ī,

Check failure on line 258 in src/frame/lib/frontmatter.ts

View workflow job for this annotation

GitHub Actions / lint-code

'ī' is not defined
},
},
communityRedirect: {
Expand Down
Loading