Skip to content

Commit 417284d

Browse files
authored
Merge pull request #243 from OpenHistoricalMap/update-actions
update GitHub actions
2 parents 4a003fc + c6eb624 commit 417284d

6 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
- { v: 24, isLatest: yes }
2626

2727
steps:
28-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
28+
- uses: actions/checkout@v6
2929
- name: Use Node.js ${{ matrix.node-version.v }}
30-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
30+
uses: actions/setup-node@v6
3131
with:
3232
node-version: ${{ matrix.node-version.v }}
3333
- run: npm clean-install
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: '[PR Preview] Upload dist folder'
3939
if: ${{github.event_name == 'pull_request' && matrix.node-version.isLatest}}
40-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
40+
uses: actions/upload-artifact@v6
4141
with:
4242
name: dist
4343
path: |
@@ -52,7 +52,7 @@ jobs:
5252
5353
- name: '[PR Preview] Upload PR metadata'
5454
if: ${{github.event_name == 'pull_request' && matrix.node-version.isLatest}}
55-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
55+
uses: actions/upload-artifact@v6
5656
with:
5757
name: pr_metadata
5858
path: ./pr_metadata.ini

.github/workflows/codespell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Check for spelling errors
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
14+
- uses: actions/checkout@v6
1515
- uses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # v2.2
1616
with:
1717
check_filenames: true

.github/workflows/deploy-pr-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
environment: workflows
1818
if: ${{github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'}}
1919
steps:
20-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
20+
- uses: actions/checkout@v6
2121

22-
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
22+
- uses: actions/setup-node@v6
2323
with:
2424
node-version: '24'
2525
- run: npm clean-install

.github/workflows/ohm.publish-to-npm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
contents: read
1010
id-token: write
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
# Setup .npmrc file to publish to npm
14-
- uses: actions/setup-node@v4
14+
- uses: actions/setup-node@v6
1515
with:
16-
node-version: '20.x'
16+
node-version: 'lts/*'
1717
registry-url: 'https://registry.npmjs.org'
1818
- run: npm ci
1919
- run: npm publish --provenance --access public

.github/workflows/staging.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
runs-on: ubuntu-latest
1414
environment: workflows
1515
steps:
16-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
17-
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
16+
- uses: actions/checkout@v6
17+
- uses: actions/setup-node@v6
1818
with:
1919
node-version-file: '.nvmrc'
2020
# install and build development version of id-tagging-schema
2121
- name: Checkout the id-tagging-schema repository code
22-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
22+
uses: actions/checkout@v6
2323
with:
2424
repository: openstreetmap/id-tagging-schema
2525
path: './id-tagging-schema'

.github/workflows/transifex.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
environment: workflows
2020

2121
steps:
22-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
22+
- uses: actions/checkout@v6
2323
- name: Install Transifex client
2424
run: |
2525
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash

0 commit comments

Comments
 (0)