Skip to content

Commit e774f91

Browse files
Move to yarn and renovate like other ampproject repos (#27)
* Move to yarn and renovate like other ampproject repos * Migrate to yarn * Add pr driven tests * Update depedencies * Reduce testing to Chrome only for now * Try ChromeHeadless * Use ChromeHeadless for Github Actions
1 parent 49b5474 commit e774f91

File tree

7 files changed

+3391
-4266
lines changed

7 files changed

+3391
-4266
lines changed

.github/workflows/karma.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Karma
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
node-version: [12.x]
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Use Node.js ${{ matrix.node-version }}
14+
uses: actions/setup-node@v1
15+
with:
16+
node-version: ${{ matrix.node-version }}
17+
- run: yarn install
18+
- run: yarn test-action

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules/
22
dist/
3-
build/
3+
build/
4+
package-lock.json

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ dimensions of elements.
2424
### Build
2525

2626
```shell
27-
npm run build
28-
npm run build-watch
27+
yarn build
28+
yarn build-watch
2929
```
3030

3131
### Test
3232

3333
```shell
34-
npm run test
35-
npm run test-watch
34+
yarn test
35+
yarn test-watch
3636
```
3737

3838
### Demos
3939

4040
To build, serve, and open a browser tab with the demos:
4141

4242
```shell
43-
npm run demo
43+
yarn demo
4444
```

0 commit comments

Comments
 (0)