build(deps): bump follow-redirects from 1.14.7 to 1.14.8 #44
Workflow file for this run
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: Publish Release | |
on: | |
pull_request: | |
types: [closed] | |
jobs: | |
publish-release: | |
permissions: | |
contents: write | |
# The second argument to startsWith() must match the release-branch-prefix | |
# input to this Action. Here, we use the default, "automation_release-". | |
if: | | |
github.event.pull_request.merged == true && | |
startsWith(github.event.pull_request.head.ref, 'release/') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get Node.js version | |
id: nvm | |
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ steps.nvm.outputs.NODE_VERSION }} | |
- run: yarn --frozen-lockfile | |
- run: yarn allow-scripts | |
- uses: MetaMask/action-publish-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: MetaMask/action-publish-gh-pages@v1 | |
with: | |
directory: public | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |