Skip to content

build(deps-dev): bump @types/node from 22.6.1 to 22.7.4 #848

build(deps-dev): bump @types/node from 22.6.1 to 22.7.4

build(deps-dev): bump @types/node from 22.6.1 to 22.7.4 #848

Workflow file for this run

name: 'pokeapi-types ci'
env:
CI: true
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout repositor under @GITHUB_WORKSPACE
uses: actions/checkout@v2
- name: Setup node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
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 node_modules
run: yarn install --frozen-lockfile
- name: Run build script
run: yarn build