Skip to content

Commit 0dded6d

Browse files
committed
Change test
1 parent e28233f commit 0dded6d

File tree

4 files changed

+60
-23
lines changed

4 files changed

+60
-23
lines changed

.github/workflows/test-default.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,22 @@ jobs:
77
test:
88
runs-on: ubuntu-latest
99
steps:
10+
- name: Cloning repository
11+
uses: actions/checkout@v4
1012

11-
- name: 'Default'
13+
- name: Setting up Node.js
14+
uses: actions/setup-node@v4
15+
with:
16+
node-version: 16
17+
cache: npm
18+
19+
- name: Installing Node.js packages
20+
run: npm ci
21+
22+
- name: Running tests
1223
run: |
13-
echo 'we require a job named "test", but not all pull requests trigger an action. So we created this small silly job named "test" that will always pass, just to make sure nothing hangs as a result of not triggering an actual job.'
24+
npx gulp updateTestResources
25+
npx gulp lintNode
26+
npx gulp lintYaml
27+
npm run test:platform
28+
npm run test:playground

package-lock.json

Lines changed: 32 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@
3838
"_test:pixi:e2e": "APP_ENV=local jest --forceExit -c e2e.jest.config.js",
3939
"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"
4040
},
41-
"keywords": ["amphtml", "framework", "documentation"],
41+
"keywords": [
42+
"amphtml",
43+
"framework",
44+
"documentation"
45+
],
4246
"author": "The AMP HTML Authors",
4347
"license": "Apache-2.0",
4448
"signale": {
@@ -49,7 +53,10 @@
4953
"@boilerplate": "boilerplate",
5054
"@lib": "platform/lib"
5155
},
52-
"browserslist": ["last 2 versions", "not dead"],
56+
"browserslist": [
57+
"last 2 versions",
58+
"not dead"
59+
],
5360
"dependencies": {
5461
"@ampproject/toolbox-cache-list": "2.9.0",
5562
"@ampproject/toolbox-cors": "2.9.0",
@@ -115,7 +122,7 @@
115122
"@rollup/plugin-node-resolve": "15.2.3",
116123
"@rollup/plugin-replace": "5.0.5",
117124
"absolutify": "0.1.0",
118-
"amphtml-validator": "1.0.35",
125+
"amphtml-validator": "1.0.36",
119126
"ansi-colors": "4.1.3",
120127
"archiver": "6.0.1",
121128
"babel-loader": "9.1.3",

playground/src/validator/validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import events from '../events/events.js';
1717
import lazyLoad from '../lazy-load/base.js';
1818
import {EVENT_SET_RUNTIME} from '../runtime/runtimes.js';
1919

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

2222
export const NO_ERRORS = {
2323
errors: [],

0 commit comments

Comments
 (0)