Merge pull request #27 from deriv-com/update-raw-token-2023-11-16-17-… #11
Workflow file for this run
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
name: Create PR to Quill-Design repo with lastest tailwind config and CSS variables | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'dist/quill-tailwind/**' | |
jobs: | |
pull-request: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Get Time | |
id: time | |
uses: nanzm/get-time-action@master | |
with: | |
timeZone: UTC | |
format: 'YYYY-MM-DD-HH-mm-ss' | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run build --if-present | |
- run: npm test | |
- name: Create pull request | |
uses: mohsen-deriv/[email protected] | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source_folder: 'dist/quill-tailwind' | |
destination_repo: 'deriv-com/quill-design' | |
destination_base_branch: 'main' | |
destination_head_branch: ${{format( 'update-quill-tailwind-config-{0}', steps.time.outputs.time )}} | |
user_email: '[email protected]' | |
user_name: 'mohsen-deriv' | |
commit_message_title: 'chore' | |
pull_request_reviewers: 'mohsen-deriv,prince-deriv,yashim-deriv' |