chore(deps): bump actions/cache from 4.1.2 to 4.2.0 #2289
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: build | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: --unshallow | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22.x' | |
- name: Cache node modules | |
uses: actions/[email protected] | |
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 }}- | |
- name: Install Dependencies | |
run: yarn install | |
- name: Lint | |
run: yarn lint | |
- name: Types | |
run: yarn types | |
- name: Test | |
run: yarn test:ci | |
- name: Build | |
run: yarn build | |
- name: SonarCloud Scan | |
uses: SonarSource/sonarcloud-github-action@master | |
env: | |
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }} | |
- name: Coveralls GitHub Action | |
uses: coverallsapp/github-action@v2 | |
- name: Code Climate Coverage Action | |
uses: paambaati/[email protected] | |
env: | |
CC_TEST_REPORTER_ID: 8413ee0825958297044236ac7f922553fb7bc1f6c075ebaab1aaa52c8a6142c0 | |
with: | |
coverageCommand: yarn test:ci |