This repository was archived by the owner on Jan 18, 2025. It is now read-only.
chore(deps): update dependency @types/node to v22.10.7 #2672
Workflow file for this run
This file contains hidden or 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/checkout@v4.2.2 | |
- name: Use Node.js | |
uses: actions/setup-node@v4.1.0 | |
with: | |
node-version-file: .nvmrc | |
- name: Use PNPM | |
uses: pnpm/action-setup@v4.0.0 | |
with: | |
version: 7 | |
- run: pnpm install | |
- run: pnpm run lint | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- name: Use Node.js | |
uses: actions/setup-node@v4.1.0 | |
with: | |
node-version-file: .nvmrc | |
- name: Use PNPM | |
uses: pnpm/action-setup@v4.0.0 | |
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/github-action@v2.3.4 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: JS-DevTools/npm-publish@v3.1.1 | |
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/github-tag-action@1.71.0 | |
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/action-gh-release@v2.2.1 | |
with: | |
tag_name: ${{ steps.publish.outputs.version }} | |
body: | |
'Changelog: https://github.com/iendeavor/vue-next-select/blob/${{ steps.publish.outputs.version | |
}}/CHANGELOG.md' |