Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Commit 1b7f3c7

Browse files
committed
fix: upgrade dependencies
1 parent 6293cb9 commit 1b7f3c7

File tree

5 files changed

+199
-13
lines changed

5 files changed

+199
-13
lines changed

.github/workflows/cd.yml

+30-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
# Allows you to run this workflow manually from the Actions tab
77
workflow_dispatch:
88
inputs:
9-
version_type:
9+
version:
1010
type: choice
1111
required: true
1212
description: Version
@@ -15,25 +15,50 @@ on:
1515
- patch
1616
- minor
1717
- major
18+
- prerelease
19+
- from-package
20+
- from-git
21+
prerelease:
22+
type: choice
23+
description: Pre-release
24+
options:
25+
-
26+
- canary
27+
- beta
28+
dryrun:
29+
description: 'Dry-run'
30+
type: boolean
31+
32+
run-name: Deploy ${{ inputs.version }} ${{ inputs.dryrun && '--dry-run' || '' }} ${{ inputs.prerelease && format('--prerelease {0}', inputs.prerelease) || '' }}
1833

1934
jobs:
2035
deploy:
2136
runs-on: ubuntu-latest
2237
environment: production
38+
permissions:
39+
contents: write
40+
id-token: write
2341

2442
env:
2543
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2644
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2745

2846
steps:
29-
- uses: actions/checkout@v3
47+
- uses: actions/checkout@v4
3048
with:
3149
fetch-depth: 0 # Fetch all history for all tags and branches
32-
- uses: actions/setup-node@v3
50+
- uses: actions/setup-node@v4
3351
with:
52+
node-version: 20
3453
# this line is required for the setup-node action to be able to run the npm publish below.
3554
registry-url: 'https://registry.npmjs.org'
3655
- uses: fregante/setup-git-user@v1
37-
- run: npm install
56+
- run: npm ci
57+
- run: npm run lint
3858
- run: npm test
39-
- run: npx wet-run release ${{ inputs.version_type }} --changelog --github-release
59+
- run: npx --yes wet-run@1.2.2 release ${{ inputs.version }} ${{ inputs.dryrun && '--dry-run' || '' }} ${{ inputs.prerelease && format('--prerelease {0}', inputs.prerelease) || '' }} --provenance --changelog --github-release --log-level verbose
60+
- name: Get NPM version
61+
id: npm-version
62+
uses: martinbeentjes/npm-get-version-action@v1.3.1
63+
- name: Released ${{ steps.npm-version.outputs.current-version}} ✨
64+
run: echo ${{ steps.npm-version.outputs.current-version}}

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ jobs:
66
lint:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
10-
- uses: actions/setup-node@v3
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-node@v4
1111
- run: npm install
1212
- run: npm run lint
1313

1414
test:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
18-
- uses: actions/setup-node@v3
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
1919
- run: npm install
2020
- run: npm test

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
/node_modules/
22
/.DS_Store
3-
/package-lock.json

package-lock.json

+162
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
"url": "https://github.com/luwes/vimeo-video-element/issues"
1414
},
1515
"scripts": {
16-
"lint": "npx eslint *.js -c ./node_modules/wet-run/.eslintrc.json",
16+
"lint": "npx eslint@8 *.js -c ./node_modules/wet-run/.eslintrc.json",
1717
"test": "wet run",
1818
"dev": "wet serve"
1919
},
2020
"dependencies": {
21-
"@vimeo/player": "2.20.1"
21+
"@vimeo/player": "2.22.0"
2222
},
2323
"devDependencies": {
24-
"wet-run": "^0.2.0"
24+
"wet-run": "^1.2.2"
2525
},
2626
"keywords": [
2727
"vimeo",

0 commit comments

Comments
 (0)