Skip to content

Update action

Update action #3

name: Update design-tokens-stable
on:
push:
branches:
- hpe-design-tokens
jobs:
update-design-tokens-stable:
runs-on: ubuntu-latest
steps:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '18.18.0'
- name: Set NPM version
run: npm install -g [email protected]
- name: Clone repo
uses: actions/checkout@v3
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Update design-tokens-stable
run: |
git config --global user.name "Grommet Community Bot"
git config --global user.email "[email protected]"
yarn release-stable
env:
GH_TOKEN: ${{ secrets.GH_ACTION_ACCESS_TOKEN }}