Skip to content

Commit

Permalink
belindas-closet-nextjs_14_556_removal_of_deprecated_GitHub_actions (#560
Browse files Browse the repository at this point in the history
)

* Update package-lock.json

Make package.json match package-lock

* update package for node engine version

* Update ci.yml

* Delete cd-production.yml

* Delete cd-staging.yml

* Delete on-push-staging.yml

* Delete ssh.yml

* Update auto-assign-issues.yml

* Create pull_request_template.md

* move pr template

* Delete pull_request_template.md
  • Loading branch information
keiffer213 authored Nov 16, 2024
1 parent 2a9a888 commit 5e987b8
Show file tree
Hide file tree
Showing 8 changed files with 516 additions and 329 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/auto-assign-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ on:
issues:
types: [opened]

permissions:
issues: write

jobs:
auto-assign:
runs-on: ubuntu-latest
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: pozil/auto-assign-issue@v1
with:
github-token: ${{ secrets.AUTO_ASSIGN_ISSUE_TOKEN }}
assignees: ${{ github.actor }}
assignees: ${{ github.actor }}
repo-token: ${{ secrets.AUTO_ASSIGN_ISSUE_TOKEN}}
32 changes: 0 additions & 32 deletions .github/workflows/cd-production.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/cd-staging.yml

This file was deleted.

26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ name: Continuous Integration
run-name: Node.js CI
on:
workflow_call: # required when creating a reusable workflow
# inputs:
# config-path:
# required: false
# type: string
# secrets:
# token:
# required: false
inputs:
config-path:
required: false
type: string
secrets:
token:
required: false
jobs:
build-and-test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '20.x'
cache: 'npm'
- name: Clean install
run: npm ci
Expand Down Expand Up @@ -59,16 +59,16 @@ jobs:

# https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
- name: Archive Next.js build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: next.js-build-18.x
name: next.js-build
path: .next/
retention-days: 14

- name: Archive code coverage results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: code-coverage-report-18.x
name: code-coverage-report
path: docs/coverage/index.html
retention-days: 14

Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/on-push-staging.yml

This file was deleted.

53 changes: 0 additions & 53 deletions .github/workflows/ssh.yml

This file was deleted.

Loading

0 comments on commit 5e987b8

Please sign in to comment.