Skip to content

📝 Update readme

📝 Update readme #22

Workflow file for this run

name: CI/CD
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Download Icons
run: node index-icons.js
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
- name: Build
run: npm run build
- name: Deploy
env:
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
github_token: ${{ secrets.ACCESS_TOKEN }}
repository: ${{ github.repository }}
run: |
git config --global user.name "$user_name"
git config --global user.email "$user_email"
git remote set-url origin https://${github_token}@github.com/${repository}
npm run deploy