Skip to content

build(deps): update devdependency eslint to ~8.44.0 #269

build(deps): update devdependency eslint to ~8.44.0

build(deps): update devdependency eslint to ~8.44.0 #269

Workflow file for this run

name: CI
on:
push:
workflow_dispatch:
env:
FORCE_COLOR: true
NODE_VERSION: 18
jobs:
setup:
name: Lint Package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
run: yarn install --immutable
- name: Run Linter
run: yarn lint
- name: Run tests
run: yarn coverage
- name: Build Package
if: success() && github.ref == 'refs/heads/develop'
run: yarn build
- name: Create Release
if: success() && github.ref == 'refs/heads/develop'
run: yarn semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}