Skip to content
Merged
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
29 changes: 0 additions & 29 deletions .github/workflows/lint-yaml.yaml

This file was deleted.

14 changes: 9 additions & 5 deletions .github/workflows/lint-js.yaml → .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
---
name: 'Lint: JavaScript'
name: 'Lint: all'

on:
workflow_dispatch:
push:
paths:
- '**/*.js'
branches:
- main
pull_request:

jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -22,6 +24,8 @@ jobs:
- name: Installing Node.js packages
run: npm ci

- name: Linting YAML files
run: gulp lintYaml

- name: Linting JavaScript files
run: |
gulp lintNode
run: gulp lintNode
13 changes: 0 additions & 13 deletions .github/workflows/test-default.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/test-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ name: 'Test: Platform'
on:
workflow_dispatch:
push:
paths:
- 'package.json'
- 'platform/lib/**'
branches:
- main
pull_request:

jobs:
test:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-playground.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ name: 'Test: Playground'
on:
workflow_dispatch:
push:
paths:
- 'package.json'
- 'playground/**'
branches:
- main
pull_request:

jobs:
test:
Expand Down
49 changes: 32 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@
"_test:pixi:e2e": "APP_ENV=local jest --forceExit -c e2e.jest.config.js",
"test:grow-extensions": "cd pages/extensions && if which grow; then python3 -m unittest discover -p \"*_test.py\"; else echo grow not installed with pip. skip tests; fi"
},
"keywords": ["amphtml", "framework", "documentation"],
"keywords": [
"amphtml",
"framework",
"documentation"
],
"author": "The AMP HTML Authors",
"license": "Apache-2.0",
"signale": {
Expand All @@ -49,7 +53,10 @@
"@boilerplate": "boilerplate",
"@lib": "platform/lib"
},
"browserslist": ["last 2 versions", "not dead"],
"browserslist": [
"last 2 versions",
"not dead"
],
"dependencies": {
"@ampproject/toolbox-cache-list": "2.9.0",
"@ampproject/toolbox-cors": "2.9.0",
Expand Down Expand Up @@ -115,7 +122,7 @@
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-replace": "5.0.5",
"absolutify": "0.1.0",
"amphtml-validator": "1.0.35",
"amphtml-validator": "1.0.38",
"ansi-colors": "4.1.3",
"archiver": "6.0.1",
"babel-loader": "9.1.3",
Expand Down
2 changes: 1 addition & 1 deletion playground/src/validator/validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import events from '../events/events.js';
import lazyLoad from '../lazy-load/base.js';
import {EVENT_SET_RUNTIME} from '../runtime/runtimes.js';

const DEFAULT_VALIDATOR_URL = 'https://ampjs.org/v0/validator_wasm.js';
const DEFAULT_VALIDATOR_URL = 'https://cdn.ampproject.org/v0/validator_wasm.js';

export const NO_ERRORS = {
errors: [],
Expand Down