chore(deps): update dependency @types/node to v22.10.0 (#903) #2626
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: CI | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node.js | |
uses: actions/[email protected] | |
with: | |
node-version-file: .nvmrc | |
- name: Use PNPM | |
uses: pnpm/[email protected] | |
with: | |
version: 7 | |
- run: pnpm install | |
- run: pnpm run lint | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node.js | |
uses: actions/[email protected] | |
with: | |
node-version-file: .nvmrc | |
- name: Use PNPM | |
uses: pnpm/[email protected] | |
with: | |
version: 7 | |
- run: pnpm install | |
- run: pnpm run build | |
- run: pnpm run test:cypress | |
- run: pnpm run test:jest --coverage | |
env: | |
CI: true | |
- name: Upload coverage to Coveralls | |
uses: coverallsapp/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: JS-DevTools/[email protected] | |
id: publish | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
token: ${{ secrets.NPM_TOKEN }} | |
package: ./package.json | |
tag: latest | |
access: public | |
dry-run: false | |
strategy: all | |
- name: Tag | |
if: github.ref_name == 'main' && steps.publish.outputs.type | |
uses: anothrNick/[email protected] | |
env: | |
CUSTOM_TAG: ${{ steps.publish.outputs.version }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Release | |
if: github.ref_name == 'main' && steps.publish.outputs.type | |
uses: softprops/[email protected] | |
with: | |
tag_name: ${{ steps.publish.outputs.version }} | |
body: | |
'Changelog: https://github.com/iendeavor/vue-next-select/blob/${{ steps.publish.outputs.version | |
}}/CHANGELOG.md' |