blob: f1645e120a402e25cf0bab4f392320473afdfd16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
name: Push CI
on:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v2.3.1
with:
persist-credentials: false
- uses: actions/setup-node@v2-beta
with:
node-version: "16.x"
- run: npm ci
- run: |
npm test
mkdir deploy-build/
cp -r README.md src standalone out out-wpt docs tools deploy-build/
- uses: JamesIves/github-pages-deploy-action@4.1.4
with:
BRANCH: gh-pages
FOLDER: deploy-build
CLEAN: true
|