Skip to content

Bump the npm_and_yarn group across 1 directory with 13 updates #2

Bump the npm_and_yarn group across 1 directory with 13 updates

Bump the npm_and_yarn group across 1 directory with 13 updates #2

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Node.js Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm test
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- name: Add & Commit

Check failure on line 34 in .github/workflows/npm-publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/npm-publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 34
# You may pin to the exact commit or the version.
# uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5
uses: EndBug/[email protected]
with:
# Arguments for the git add command
add: # optional, default is .
# The name of the user that will be displayed as the author of the commit
author_name: # optional
# The email of the user that will be displayed as the author of the commit
author_email: # optional
# Additional arguments for the git commit command
commit: # optional
# The name of the custom committer you want to use
committer_name: # optional
# The email of the custom committer you want to use
committer_email: # optional
# The directory where your repository is located. You should use actions/checkout first to set it up
cwd: # optional, default is .
# How the action should fill missing author name or email.
default_author: # optional, default is github_actor
# Arguments for the git fetch command (if 'false', the action won't fetch the repo)
fetch: # optional, default is --tags --force
# The message for the commit
message: # optional
# The name of the branch to create.
new_branch: # optional
# The way the action should handle pathspec errors from the add and remove commands.
pathspec_error_handling: # optional, default is ignore
# Arguments for the git pull command. By default, the action does not pull.
pull: # optional
# Whether to push the commit and, if any, its tags to the repo. It can also be used to set the git push arguments (more info in the README)
push: # optional, default is true
# Arguments for the git rm command
remove: # optional
# Arguments for the git tag command (the tag name always needs to be the first word not preceded by a hyphen)
tag: # optional
# Arguments for the git push --tags command (any additional argument will be added after --tags)
tag_push: # optional
# The token used to make requests to the GitHub API. It's NOT used to make commits and should not be changed.
github_token: # optional, default is ${{ github.token }}