chore(deps): bump micromatch from 4.0.4 to 4.0.8 #140
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: Build & run all tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
registry-url: 'https://registry.npmjs.org' | |
- name: Cache node modules | |
uses: actions/cache@v4 | |
with: | |
path: node_modules | |
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.OS }}-build-${{ env.cache-name }}- | |
${{ runner.OS }}-build- | |
${{ runner.OS }}- | |
- name: Install dependencies # Install all deps | |
run: yarn | |
- name: Sync versions # Sync versions | |
run: yarn syncprojects | |
- name: Build ngx-translate-cut # Build | |
run: yarn build | |
- name: Build Example # Build Example page | |
run: yarn build:demo --base-href https://bartholomej.github.io/ngx-translate-cut/ | |
- name: Run tests # Build Schematics and move | |
run: yarn test --configuration=ci --code-coverage | |
- name: Upload coverage reports | |
run: bash <(curl -s https://codecov.io/bash) | |
- name: Deploy Github Pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
publish_dir: ./dist/demo |