Skip to content

Commit

Permalink
Merge branch 'main' into feature/7371-narin-update-primary-colors
Browse files Browse the repository at this point in the history
  • Loading branch information
narin authored Dec 19, 2023
2 parents c6ab07c + 383ce52 commit 507bf7b
Show file tree
Hide file tree
Showing 11 changed files with 1,223 additions and 465 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/tokens-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Builds the tokens package to update the figma folder

name: 'Build Tokens Package'

on:
workflow_dispatch:
push:
paths: ['packages/tokens/**']
branches:
- main

jobs:
tokens-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.VA_MOBILE_ROBOT_GITHUB_PAT }}
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
registry-url: https://registry.npmjs.org/
node-version-file: .nvmrc
cache: yarn
cache-dependency-path: yarn.lock
- run: yarn install
- name: Build tokens
run: |
yarn tokens:build
- name: Commit latest figma tokens
working-directory: packages/tokens
run: |
git config --global user.name 'VA Automation Bot'
git config --global user.email '[email protected]'
git pull
git add -f figma/
git commit -m 'Build latest figma tokens'
git push
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ coverage
packages/components/.yarn/install-state.gz
packages/components/.yarn/cache
packages/tokens/dist/
packages/tokens/figma/

!.yarn/patches
!.yarn/releases
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [components-v0.3.4](https://github.com/department-of-veterans-affairs/va-mobile-library/tree/components-v0.3.4) (2023-12-15)

[Full Changelog](https://github.com/department-of-veterans-affairs/va-mobile-library/compare/linting-v0.3.0...components-v0.3.4)

## [linting-v0.3.0](https://github.com/department-of-veterans-affairs/va-mobile-library/tree/linting-v0.3.0) (2023-12-07)

[Full Changelog](https://github.com/department-of-veterans-affairs/va-mobile-library/compare/linting-v0.2.0...linting-v0.3.0)
Expand Down
2 changes: 1 addition & 1 deletion packages/components/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
preset: 'react-native',
preset: 'jest-expo',
testEnvironment: 'node',
transform: {
'^.+\\.(ts|tsx)$': [
Expand Down
3 changes: 2 additions & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@department-of-veterans-affairs/mobile-component-library",
"version": "0.3.3",
"version": "0.3.4",
"description": "VA Design System Mobile Component Library",
"main": "src/index.tsx",
"scripts": {
Expand Down Expand Up @@ -88,6 +88,7 @@
"expo-status-bar": "~1.6.0",
"gh-pages": "^5.0.0",
"jest": "^29.6.1",
"jest-expo": "~49.0.0",
"jest-styled-components": "^7.1.1",
"metro-react-native-babel-preset": "^0.77.0",
"react": "^18.2.0",
Expand Down
Loading

0 comments on commit 507bf7b

Please sign in to comment.