Skip to content

Commit

Permalink
Merge pull request #9 from grafana/jackw/update-gh-workflow
Browse files Browse the repository at this point in the history
CI: update gh workflow actions to latest versions
  • Loading branch information
jackw authored Aug 19, 2024
2 parents 6a30cbf + 7444e4b commit d2831bb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: master
# limit releases to version changes - https://github.com/EndBug/version-check
- name: Check version changes
uses: EndBug/version-check@v1
uses: EndBug/version-check@v2
id: version_check
with:
# diff the commits rather than commit message for version changes
Expand All @@ -27,9 +27,9 @@ jobs:

- name: Setup .npmrc file for NPM registry
if: steps.version_check.outputs.changed == 'true'
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "14"
node-version: "20"
registry-url: "https://registry.npmjs.org"

- name: Publish package to NPM
Expand All @@ -40,9 +40,9 @@ jobs:

- name: Setup .npmrc file for GitHub Packages
if: steps.version_check.outputs.changed == 'true'
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "14"
node-version: "20"
registry-url: "https://npm.pkg.github.com"
scope: "@grafana"

Expand Down

0 comments on commit d2831bb

Please sign in to comment.