node.js.yml.txt Devlynnx.GitHub.io echo "# Devlynnx.GitHub.io" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/Devlynnx/Devlynnx.GitHub.io.git git push -u origin main
- name: Setup Node.js environment
uses: actions/[email protected]
with:
always-auth: # optional, default is false
node-version: # optional
node-version-file: # optional architecture: # optional
File containing the version Spec of the version to use. Examples: .nvmrc, .node-version, .tool-versions.
check-latest: # optionalSet this option if you want the action to check for the latest available version that satisfies the version spec.
registry-url: # optionalOptional 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.
scope: # optionalOptional scope for authenticating against scoped registries. Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/).
token: # optional, default is ${{ github.server_url == 'https://github.com' && github.token || '' }} cache: # optional cache-dependency-path: # optionalUsed 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.