forked from openedx/paragon
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ad0236
commit b8ed882
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Tokens auto-build | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'tokens/**' | ||
|
||
jobs: | ||
tokens-update: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: [16] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup Nodejs | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
- name: Install dependencies | ||
run: npm ci | ||
working-directory: tokens | ||
- name: Run build script | ||
run: npm run build | ||
working-directory: tokens | ||
- name: Create pull request for dependent project usages | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
commit-message: "docs: update tokens build" | ||
title: "docs: update tokens build" | ||
body: "Contains automated changes to tokens build, which provides css and scss variables generation." | ||
labels: automerge | ||
branch: design-tokens/update-tokens-build | ||
base: zadorozhnii/auto-commit-build-tokens |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters