[New] nvm use
/nvm install
: add --save
option
#1197
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Tests: release process' | |
on: [pull_request, push] | |
jobs: | |
release: | |
permissions: | |
contents: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@v2 | |
with: | |
allowed-endpoints: | |
github.com:443 | |
api.github.com:443 | |
objects.githubusercontent.com:443 | |
raw.githubusercontent.com:443 | |
registry.npmjs.org:443 | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "14" | |
- run: npm install | |
- name: Configure git | |
run: | | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git fetch --unshallow --tags -f || git fetch --tags -f | |
- name: Attempt `make release` process | |
run: echo proceed | make TAG=99.99.99 release | |
env: | |
GIT_EDITOR: "sed -i '1 s/^/99.99.99 make release test/'" | |
- name: Ensure tag is created | |
run: git tag | grep v99.99.99 |