Skip to content

chore(deps-dev): bump the npm_and_yarn group with 5 updates #675

chore(deps-dev): bump the npm_and_yarn group with 5 updates

chore(deps-dev): bump the npm_and_yarn group with 5 updates #675

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
install:
name: Install
runs-on: ubuntu-latest
continue-on-error: false
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- name: Install dependencies
run: npm i
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Pack artifact
run: tar czf /tmp/artifact.tar.gz .
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ui-kit-artifact
path: /tmp/artifact.tar.gz
retention-days: 1
eslint:
name: Eslint
runs-on: ubuntu-latest
needs: [install]
continue-on-error: false
steps:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: ui-kit-artifact
- name: Unpack artifact
run: tar xf artifact.tar.gz
- name: Run eslint
run: npm run lint
typescript:
name: Typescript
runs-on: ubuntu-latest
needs: [install]
continue-on-error: false
steps:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: ui-kit-artifact
- name: Unpack artifact
run: tar xf artifact.tar.gz
- name: Run typescript compile
run: yarn tsc --noEmit
test:
name: Test
runs-on: ubuntu-latest
needs: [install]
continue-on-error: false
steps:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: ui-kit-artifact
- name: Unpack artifact
run: tar xf artifact.tar.gz
- name: Run typescript compile
run: npm run test
build:
name: Build
runs-on: ubuntu-latest
needs: [install]
continue-on-error: false
steps:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: ui-kit-artifact
- name: Unpack artifact
run: tar xf artifact.tar.gz
- name: Build application
run: npm run build