✨ feat: added scrollable option to header and footer components #122
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '21.2.0' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Check types | |
run: tsc --noEmit --pretty --project './tsconfig.json' | |
- name: Build library | |
run: yarn build-lib | |
- name: Run tests | |
run: yarn test --ci --coverage | |
- uses: actions/setup-node@v2 | |
with: | |
registry-url: 'https://npm.pkg.github.com' | |
- name: Publish and tag | |
run: | | |
# We need npm 7.7.0 or higher; see https://github.com/npm/cli/issues/2834 | |
npm install -g npm@latest | |
# Create the changelog, update the version and publish using the config from .releaserc | |
npx semantic-release | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GIT_AUTHOR_NAME: phorkish | |
GIT_AUTHOR_EMAIL: [email protected] | |
GIT_COMMITTER_NAME: phorkish | |
GIT_COMMITTER_EMAIL: [email protected] |