Skip to content

Commit 73be1a4

Browse files
committed
fix tests, bump actions
1 parent 3d66d85 commit 73be1a4

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [16.x]
19+
node-version: [22.x]
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121

2222
steps:
23-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v4
2424
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v2
25+
uses: actions/setup-node@v4
2626
with:
2727
node-version: ${{ matrix.node-version }}
2828
cache: 'npm'

.github/workflows/build_frontend.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414
- name: Docker login
1515
run: docker login ghcr.io -u previ -p ${{ secrets.GHCR_BACKEND_STUB_RO }}
1616
- name: Run stub
@@ -36,7 +36,7 @@ jobs:
3636
- name: Clean up
3737
run: docker stop backend-stub && docker rm backend-stub
3838
- name: Archive coverage
39-
uses: actions/upload-artifact@v3
39+
uses: actions/upload-artifact@v4
4040
with:
4141
name: coverage
4242
path: coverage
@@ -45,16 +45,16 @@ jobs:
4545
runs-on: ubuntu-latest
4646
needs: test
4747
steps:
48-
- uses: actions/checkout@v3
49-
- name: Use Node.js 16.x
50-
uses: actions/setup-node@v3
48+
- uses: actions/checkout@v4
49+
- name: Use Node.js 22.x
50+
uses: actions/setup-node@v4
5151
with:
52-
node-version: 16
52+
node-version: 22.x
5353
cache: 'npm'
5454
- run: npm ci
5555
- run: npm run build --if-present
5656
- name: Archive dist
57-
uses: actions/upload-artifact@v3
57+
uses: actions/upload-artifact@v4
5858
with:
5959
name: dist
6060
path: dist
@@ -93,7 +93,7 @@ jobs:
9393
runs-on: ubuntu-latest
9494
needs: build
9595
steps:
96-
- uses: actions/checkout@v3 # Checking out the repo
96+
- uses: actions/checkout@v4 # Checking out the repo
9797
- name: Docker meta
9898
id: meta
9999
uses: docker/metadata-action@v4
@@ -113,7 +113,7 @@ jobs:
113113
# push event
114114
type=sha,enable=true,prefix=git-,format=short
115115
- name: Download dist artifact
116-
uses: actions/download-artifact@v3
116+
uses: actions/download-artifact@v4
117117
with:
118118
name: dist
119119
path: dist
@@ -133,7 +133,7 @@ jobs:
133133
username: ${{ github.actor }}
134134
password: ${{ secrets.GITHUB_TOKEN }}
135135
- name: Build and push
136-
uses: docker/build-push-action@v3
136+
uses: docker/build-push-action@v6
137137
with:
138138
push: true
139139
platforms: linux/arm/v7

.github/workflows/build_publish.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Create GitHub Release
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1313
with:
1414
fetch-depth: 0
1515
- name: Create Release
@@ -36,19 +36,19 @@ jobs:
3636
needs: [release]
3737
strategy:
3838
matrix:
39-
node-version: [16.x]
39+
node-version: [22.x]
4040
runs-on: ubuntu-latest
4141
steps:
42-
- uses: actions/checkout@v2
42+
- uses: actions/checkout@v4
4343
- name: Use Node.js ${{ matrix.node-version }}
44-
uses: actions/setup-node@v2
44+
uses: actions/setup-node@v4
4545
with:
4646
node-version: ${{ matrix.node-version }}
4747
cache: 'npm'
4848
- run: npm ci
4949
- run: npm run build --if-present
5050

51-
- uses: actions/download-artifact@v1
51+
- uses: actions/download-artifact@v4
5252
with:
5353
name: info
5454

@@ -76,7 +76,7 @@ jobs:
7676
needs: [build]
7777
runs-on: ubuntu-latest
7878
steps:
79-
- uses: actions/download-artifact@v1
79+
- uses: actions/download-artifact@v4
8080
with:
8181
name: info
8282
- name: Set publish_info

cypress/e2e/300_activities.cy.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ describe('activities page', () => {
103103
cy.get('#button_index_2').find('button.remove').click()
104104
cy.get('#button_index_1').find('button.remove').click()
105105
cy.get('button#toolbox').click()
106-
cy.get('.blockly-toolbox-editor').find('#blockly-9').click()
106+
cy.get('.blockly-toolbox-editor').find('#blockly-g').click()
107107
cy.get('.blocklyDraggable').click({ force: true, multiple: true })
108108
cy.get('button#activity_save').click()
109109
cy.visit('http://localhost:8080')
@@ -141,7 +141,7 @@ describe('activities page', () => {
141141
cy.get('#card_font_ui').find('input[value*="opensans"]').click()
142142
cy.get('#card_font_editor').find('input[value*="robotomono"]').click()
143143
cy.get('button#toolbox').click()
144-
cy.get('.blockly-toolbox-editor').find('#blockly-3').click()
144+
cy.get('.blockly-toolbox-editor').find('#blockly-g').click()
145145
cy.get('.blocklyDraggable').click({ force: true, multiple: true })
146146
cy.get('button#activity_save').click()
147147
cy.visit('http://localhost:8080')
@@ -179,7 +179,7 @@ describe('activities page', () => {
179179
cy.get('input#category_name').type("Test category")
180180
cy.get('button#save_category').click()
181181
cy.get('.v-list-item-title').contains('Test category').click({ force: true })
182-
cy.get('.blockly-toolbox-editor').find('#blockly-1').click({ force: true })
182+
cy.get('.blockly-toolbox-editor').find('#blockly-g').click({ force: true })
183183
cy.get('.blocklyDraggable').click({ force: true, multiple: true })
184184
cy.get('button#activity_save').click()
185185
cy.visit('http://localhost:8080')

0 commit comments

Comments
 (0)