Skip to content

Commit 0e48122

Browse files
committed
Use vnc-keymaps package from GitHub Packages
Signed-off-by: Radoslaw Szwajkowski <[email protected]>
1 parent 4755946 commit 0e48122

File tree

3 files changed

+2900
-2731
lines changed

3 files changed

+2900
-2731
lines changed

.github/workflows/ci_checks.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ on:
77
push:
88
branches:
99
- main
10-
1110
jobs:
1211
i18n:
1312
name: i18n
13+
permissions:
14+
packages: read
1415
runs-on: ubuntu-latest
1516
steps:
1617
- name: Checkout
@@ -19,9 +20,13 @@ jobs:
1920
- name: Setup Yarn
2021
uses: actions/setup-node@v4
2122
with:
22-
node-version: '18'
23+
node-version: '22'
2324
cache: 'yarn'
25+
registry-url: 'https://npm.pkg.github.com'
26+
2427
- run: yarn install --frozen-lockfile
28+
env:
29+
NODE_AUTH_TOKEN:: ${{ secrets.GITHUB_TOKEN }}
2530

2631
- name: Check i18n
2732
shell: bash
@@ -44,9 +49,13 @@ jobs:
4449
- name: Setup Yarn
4550
uses: actions/setup-node@v4
4651
with:
47-
node-version: '18'
52+
node-version: '22'
4853
cache: 'yarn'
54+
registry-url: 'https://npm.pkg.github.com'
55+
4956
- run: yarn install --frozen-lockfile
57+
env:
58+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5059

5160
- name: Lint
5261
run: yarn lint:fix
@@ -67,9 +76,13 @@ jobs:
6776
- name: Setup Yarn
6877
uses: actions/setup-node@v4
6978
with:
70-
node-version: '18'
79+
node-version: '22'
7180
cache: 'yarn'
81+
registry-url: 'https://npm.pkg.github.com'
82+
7283
- run: yarn install --frozen-lockfile
84+
env:
85+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7386

7487
- name: Run Unit Tests
7588
run: yarn test-cov

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"dependencies": {
3-
"@kubevirt-ui/vnc-keymaps": "file:../vnc-keymaps/kubevirt-ui-vnc-keymaps-v0.0.1.tgz",
3+
"@kubevirt-ui/vnc-keymaps": "0.0.1",
44
"@kubev2v/types": "^0.0.22",
55
"@novnc/novnc": "^1.5.0",
66
"@patternfly/quickstarts": "6.1.0",

0 commit comments

Comments
 (0)