Skip to content

Commit c7590ee

Browse files
Update actions to latest versions
1 parent 62a70bd commit c7590ee

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,14 @@ jobs:
1919
runs-on: ${{ matrix.os }}
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2323
- name: Setup Node.js
24-
uses: actions/setup-node@v1
25-
with:
26-
node-version: 18.13.0
24+
uses: actions/setup-node@v4
2725
- name: Install dependencies
2826
run: npm install
2927
- name: Build package
3028
run: npm run build
3129
- name: Run headless test
32-
uses: GabrielBB/xvfb-action@v1.0
30+
uses: coactions/setup-xvfb@v1
3331
with:
3432
run: npm test

.github/workflows/publish-extension.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ on:
88

99
jobs:
1010
cd:
11-
if: >
12-
${{ github.event.workflow_run.conclusion == 'success' &&
13-
github.event.workflow_run.head_branch == 'master' }}
11+
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'master' }}
1412
runs-on: ubuntu-latest
1513
permissions:
1614
contents: write
@@ -20,18 +18,16 @@ jobs:
2018

2119
- name: Setup node.js
2220
uses: actions/setup-node@v4
23-
with:
24-
node-version: 20
2521

2622
- name: "Bump version"
27-
uses: 'phips28/gh-action-bump-version@master'
23+
uses: "phips28/gh-action-bump-version@master"
2824
env:
2925
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
3026
with:
31-
minor-wording: 'MINOR'
32-
major-wording: 'MAJOR'
33-
patch-wording: 'PATCH,FIX'
34-
rc-wording: 'RELEASE'
27+
minor-wording: "MINOR"
28+
major-wording: "MAJOR"
29+
patch-wording: "PATCH,FIX"
30+
rc-wording: "RELEASE"
3531

3632
- name: Install packages
3733
run: npm ci

0 commit comments

Comments
 (0)