Skip to content

Commit

Permalink
Add a curl to the npm registry to see if it works
Browse files Browse the repository at this point in the history
  • Loading branch information
mcalthrop committed Dec 9, 2024
1 parent 41a3547 commit dc86cb5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/actions/get-node-version/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Get node version'
description: 'Read node version defined in package.json'
name: Get node version
description: Read node version defined in package.json

outputs:
value:
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
name: Prepare
description: Installs dependencies

runs:
using: composite
steps:
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: PR validation

on:
pull_request:
types: [ready_for_review, opened, synchronize, reopened, push]
types: [ready_for_review, opened, synchronize, reopened, edited]
branches:
- main

Expand All @@ -11,6 +11,17 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
curl-npm-registry:
name: curl npm registry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2

- uses: ./.github/actions/prepare

- name: curl npm registry
run: curl https://registry.npmjs.org/@mands%2fnx-playwright

secret-scan:
name: Secret scan
runs-on: ubuntu-latest
Expand Down

0 comments on commit dc86cb5

Please sign in to comment.