Skip to content

Upgrade: Bump follow-redirects from 1.15.3 to 1.15.4 in /nuxt #389

Upgrade: Bump follow-redirects from 1.15.3 to 1.15.4 in /nuxt

Upgrade: Bump follow-redirects from 1.15.3 to 1.15.4 in /nuxt #389

Workflow file for this run

name: Test and Deploy Github Pages with Nuxt
on:
pull_request:
paths:
- 'nuxt/**'
- '.github/workflows/*nuxt*.yml'
push:
branches: master
paths:
- 'nuxt/**'
- '.github/workflows/*nuxt*.yml'
jobs:
test:
runs-on: [ubuntu-latest]
defaults:
run:
working-directory: nuxt
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
cache-dependency-path: 'nuxt/yarn.lock'
- run: yarn
- run: yarn lint
- run: yarn test
deploy:
if: github.ref == 'refs/heads/master'
needs: test
defaults:
run:
working-directory: nuxt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
cache-dependency-path: 'nuxt/yarn.lock'
- name: yarn
run: yarn
- name: deploy
run: yarn deploy -r "https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" -u "github-actions-bot <support+actions@github.com>" -m "$GITHUB_SHA"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}