Bump @formatjs/intl-locale from 2.4.47 to 4.2.8 #1533
Workflow file for this run
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: Node.js CI | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Read node version from .nvmrc | |
id: nvmrc | |
uses: browniebroke/read-nvmrc-action@v1 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '${{ steps.nvmrc.outputs.node_version }}' | |
- name: Cache node modules | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- run: npm ci | |
- run: npm run test:coverage | |
- uses: codecov/codecov-action@v2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos | |
directory: coverage | |
flags: unittests | |
linter: | |
runs-on: ubuntu-latest | |
# Linters are not run on PRs created by dependabot because these runs lack | |
# the secret required to create Github Status Checks and will not have new | |
# linter issues anyway. | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Read node version from .nvmrc | |
id: nvmrc | |
uses: browniebroke/read-nvmrc-action@v1 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '${{ steps.nvmrc.outputs.node_version }}' | |
- uses: actions/cache@v3 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- run: npm ci | |
- run: npm run lint |