Skip to content

Bump follow-redirects from 1.15.2 to 1.15.6 #62

Bump follow-redirects from 1.15.2 to 1.15.6

Bump follow-redirects from 1.15.2 to 1.15.6 #62

Workflow file for this run

name: CI
on: [ push ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install imagemagick
run: |
sudo apt install imagemagick gnuplot
sudo sed -i 's/<policy domain="coder" rights="none" pattern="PDF" \/>/<policy domain="coder" rights="read|write" pattern="PDF" \/>/g' /etc/ImageMagick-6/policy.xml
- name: Install patchouli
run: |
sudo npm install
sudo npm run docker-build
sudo npm i -g . --unsafe-perm
- name: Install mocha globally
run: sudo npm i -g mocha
- name: Run tests
run: npm test
- name: Upload artifacts
if: always()
uses: actions/upload-artifact@v1
with:
name: integration
path: test/integration/artifacts/
publish:
runs-on: ubuntu-latest
needs: [test]
if: success() && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- name: Publish to docker hub
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: kotborealis/patchouli
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
context: ./docker/
- name: Publish to npm
uses: pascalgn/npm-publish-action@4f4bf159e299f65d21cd1cbd96fc5d53228036df
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}