Skip to content

Commit

Permalink
Merge pull request #268 from mediamonks/#255-move-mediamonks/react-an…
Browse files Browse the repository at this point in the history
…imation-into-repository

Move @mediamonks/react-animation into @mediamonks/react-kit #255
  • Loading branch information
leroykorterink authored Nov 10, 2023
2 parents dbd3850 + f8e4acc commit e910338
Show file tree
Hide file tree
Showing 39 changed files with 2,335 additions and 437 deletions.
32 changes: 23 additions & 9 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,28 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
- name: Check out source
uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: 'npm'
- run: npm ci
- run: npx playwright install --with-deps
- run: npm run lint
- run: npm run build
- run: npm run test
node-version: '20.x'

- name: Install dependencies
env:
GSAP_TOKEN: ${{ secrets.GSAP_TOKEN }}
run: |
npm config set //npm.greensock.com/:_authToken=$GSAP_TOKEN
npm config set @gsap:registry=https://npm.greensock.com
npm ci
npx playwright install --with-deps
- name: Lint
run: npm run lint

- name: Build
run: npm run build

- name: Test
run: npm run test
19 changes: 14 additions & 5 deletions .github/workflows/bump-version-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,22 @@ jobs:
with:
ssh-key: ${{secrets.DEPLOY_KEY}}

- name: Setup Node.js
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
node-version: '20.x'

- name: Install npm packages
run: npm ci
- name: Install dependencies
env:
GSAP_TOKEN: ${{ secrets.GSAP_TOKEN }}
run: |
npm config set //npm.greensock.com/:_authToken=$GSAP_TOKEN
npm config set @gsap:registry=https://npm.greensock.com
npm ci
- name: Install dependencies
run: |
npm run build
- name: Setup Git
run: |
Expand All @@ -58,5 +66,6 @@ jobs:
with:
token: ${{ secrets.NPM_TOKEN }}
ignore-scripts: false

- name: Push latest version
run: git push origin main --follow-tags
9 changes: 6 additions & 3 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,17 @@ jobs:
with:
fetch-depth: 0

- name: Setup Node.js
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
node-version: '20.x'

- name: Build Storybook
env:
GSAP_TOKEN: ${{ secrets.GSAP_TOKEN }}
run: |
npm config set //npm.greensock.com/:_authToken=$GSAP_TOKEN
npm config set @gsap:registry=https://npm.greensock.com
npm ci
npm run storybook:build
Expand Down
Loading

0 comments on commit e910338

Please sign in to comment.