Skip to content

chore(deps): update dependency typescript to v5.4.2 #2987

chore(deps): update dependency typescript to v5.4.2

chore(deps): update dependency typescript to v5.4.2 #2987

Workflow file for this run

name: Build
on:
push:
branches:
- main
- beta
- 'renovate/**'
- 'github-renovate/**'
pull_request:
jobs:
lint:
uses: vidavidorra/.github/.github/workflows/node-lint.yml@6806ef65ed548aeab950f9141e7ebc5bc0681809 # tag=v1.2.3
build:
name: Build (Node.js v${{ matrix.node }})
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
node: [18, 19]
steps:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Setup node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: ${{ matrix.node }}
- name: Install project
run: npm ci --ignore-scripts
- name: Build
run: npm run build
test:
name: Test (Node.js v${{ matrix.node }})
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
node: [18, 19]
steps:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Setup node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: ${{ matrix.node }}
- name: Install project
run: npm ci --ignore-scripts
- name: Test
run: npm run test
code-coverage:
needs: [lint, build, test]
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Setup node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18
- name: Install project
run: npm ci --ignore-scripts
- name: Test
run: npm run test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # tag=v3.1.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/cobertura-coverage.xml
release:
needs: [lint, build, test, code-coverage]
runs-on: ubuntu-latest
# GitHub API requests can easy take a couple of seconds and the release can
# make lots of API requests when a release has a lot of commits. If every
# requests takes five seconds, which is on the high side for a request, this
# could perform 180 requests. This should be enough for most use cases.
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
# Make sure the release step uses its own credentials.
persist-credentials: false
- name: Setup node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18
- name: Install project
run: npm ci --ignore-scripts
- name: Build
run: npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
GIT_AUTHOR_NAME: vidavidorra-release
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: vidavidorra-release
GIT_COMMITTER_EMAIL: [email protected]
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
run: npx --no-install semantic-release