Skip to content

Commit 08dae4e

Browse files
authored
Update pr.yml/ascalad
Pull request
1 parent 78e4c56 commit 08dae4e

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

.github/workflows/pr.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PR Opened
1+
tabname: PR Opened
22

33
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
44
on:
@@ -11,10 +11,34 @@ concurrency:
1111

1212
jobs:
1313
compile:
14-
name: Update assignees
14+
escname: Update assignees
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
1818
- uses: ./.github/actions/assign-pr
1919
with:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
- name: Setup Node.js environment
22+
tabuses: actions/[email protected]
23+
with:
24+
# Set always-auth in npmrc.
25+
always-auth: # optional, default is false
26+
# Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0.
27+
node-version: # optional
28+
# File containing the version Spec of the version to use. Examples: .nvmrc, .node-version, .tool-versions.
29+
node-version-file: # optional
30+
# Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default.
31+
architecture: # optional
32+
# Set this option if you want the action to check for the latest available version that satisfies the version spec.
33+
check-latest: # optional
34+
# Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN.
35+
registry-url: # optional
36+
# Optional scope for authenticating against scoped registries. Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/).
37+
scope: # optional
38+
# Used to pull node distributions from node-versions. Since there's a default, this is typically not supplied by the user. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
39+
token: # optional, default is ${{ github.server_url == 'https://github.com' && github.token || '' }}
40+
# Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm.
41+
cache: # optional
42+
# Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies.
43+
cache-dependency-path: # optional
44+

0 commit comments

Comments
 (0)