Skip to content

Commit

Permalink
Merge pull request #276 from laws-africa/terms
Browse files Browse the repository at this point in the history
adjust decorate-terms behaviour
  • Loading branch information
longhotsummer authored Jul 1, 2024
2 parents 440c91a + 1e8b08f commit 6634be1
Show file tree
Hide file tree
Showing 226 changed files with 24,543 additions and 91,747 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,18 @@ jobs:
concurrency: la-web-components
steps:
- name: git-checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# use a token that has admin perms to bypass direct commits to main
token: ${{ secrets.LA_ACTIONS_TOKEN }}

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '20'

- name: Install all dependencies
run: | # Install and link dependencies
npm ci
npx lerna bootstrap
- name: Build
run: |
npx lerna run build
- run: npm ci
- run: npx lerna bootstrap
- run: npx lerna run build

- name: Push build artefacts
uses: EndBug/add-and-commit@v9
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,12 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '20'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies and build 🔧
run: | # Install and link dependencies
npm ci
npx lerna bootstrap
- run: npm ci
- run: npx lerna bootstrap
- name: Version and publish
id: graduateRelease
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor}}@users.noreply.github.com"
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,11 @@ on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: '20'
- run: npm ci
- run: npx lerna bootstrap
- run: npx lerna run test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Click [here](core/README.md#components) to learn how to use our components.


## Local development
You must have nodejs version 20.

At the root of project in your terminal, run `npm install`

[Lerna](https://lerna.js.org/) is used for managing and publishing packages in this repo.
Expand Down
2 changes: 0 additions & 2 deletions core/.eslintignore

This file was deleted.

32 changes: 0 additions & 32 deletions core/.eslintrc.js

This file was deleted.

2 changes: 0 additions & 2 deletions core/.prettierignore

This file was deleted.

11 changes: 0 additions & 11 deletions core/.prettierrc.js

This file was deleted.

263 changes: 0 additions & 263 deletions core/.stylelintrc.yml

This file was deleted.

Loading

0 comments on commit 6634be1

Please sign in to comment.