Compare commits
13 commits
develop
...
ci-package
Author | SHA1 | Date | |
---|---|---|---|
|
f09cc044b2 | ||
|
528f8b119e | ||
|
e07282e1cc | ||
|
4ddb4b921d | ||
|
5a3466a75e | ||
|
fdd7cf7fa6 | ||
|
dce321c241 | ||
|
bbdfb54903 | ||
|
90c18aca5d | ||
|
a60dc77468 | ||
|
1d9bdd732f | ||
|
6d5a15f7a8 | ||
|
5a4b4db811 |
2 changed files with 77 additions and 0 deletions
77
.github/workflows/ci_package.yml
vendored
Normal file
77
.github/workflows/ci_package.yml
vendored
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- ci-package
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '14'
|
||||||
|
cache: 'yarn'
|
||||||
|
- run: ./scripts/fetch-develop.deps.sh --depth 1
|
||||||
|
- run: yarn install
|
||||||
|
- run: yarn lint:js
|
||||||
|
- run: yarn lint:types
|
||||||
|
- run: yarn lint:style
|
||||||
|
stats:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '14'
|
||||||
|
cache: 'yarn'
|
||||||
|
- run: ./scripts/fetch-develop.deps.sh --depth 1
|
||||||
|
- run: yarn install
|
||||||
|
- run: yarn build-stats
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
path: webpack-stats.json
|
||||||
|
tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '14'
|
||||||
|
cache: 'yarn'
|
||||||
|
- run: ./scripts/fetch-develop.deps.sh --depth 1
|
||||||
|
- run: yarn install
|
||||||
|
- run: yarn build:genfiles
|
||||||
|
- run: yarn test
|
||||||
|
i18n:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '14'
|
||||||
|
cache: 'yarn'
|
||||||
|
- run: ./scripts/fetch-develop.deps.sh --depth 1
|
||||||
|
- run: yarn install
|
||||||
|
- run: yarn diff-i18n
|
||||||
|
package:
|
||||||
|
needs: [lint, stats, tests, i18n]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
environment: develop
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '14'
|
||||||
|
cache: 'yarn'
|
||||||
|
- run: ./scripts/fetch-develop.deps.sh --depth 1
|
||||||
|
- run: yarn install
|
||||||
|
- run: ./scripts/ci_package.sh
|
||||||
|
env:
|
||||||
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
|
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||||
|
SENTRY_URL: ${{ secrets.SENTRY_URL }}
|
||||||
|
SENTRY_ORG: sentry
|
||||||
|
SENTRY_PROJECT: riot-web
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
path: dist/*.tar.gz
|
0
foo.txt
Normal file
0
foo.txt
Normal file
Loading…
Add table
Reference in a new issue