@primer/components 33.0.0-rc.9f3670b7 → 33.0.0-rc.af3001e7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/statuses.yml +32 -0
- package/.gitignore +1 -0
- package/package-lock.json +294 -247
- package/package.json +3 -1
- package/script/component-status-project/build.ts +100 -0
- package/script/component-status-project/deploy.rb +142 -0
- package/stats.html +1 -1
- package/tsconfig.build.json +1 -1
- package/tsconfig.json +1 -1
@@ -0,0 +1,32 @@
|
|
1
|
+
name: Update status project
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- main
|
7
|
+
# Only run workflow on changes to component docs
|
8
|
+
paths:
|
9
|
+
- 'docs/content/**'
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
build-and-deploy:
|
13
|
+
name: Update status project
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
steps:
|
16
|
+
- uses: actions/checkout@v2
|
17
|
+
- name: Setup Ruby
|
18
|
+
uses: actions/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: 2.7.x
|
21
|
+
- name: Set up Node.js
|
22
|
+
uses: actions/setup-node@v2
|
23
|
+
with:
|
24
|
+
node-version: 14
|
25
|
+
- name: Install node deps
|
26
|
+
run: npm ci
|
27
|
+
- name: Install ruby deps
|
28
|
+
run: gem install graphql-client
|
29
|
+
- name: Build statuses
|
30
|
+
run: npx ts-node script/component-status-project/build.ts
|
31
|
+
- name: Deploy statuses to project
|
32
|
+
run: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} script/component-status-project/deploy.rb
|
package/.gitignore
CHANGED