Skip to content

add new pull request template for tool addition and technical develop… #606

add new pull request template for tool addition and technical develop…

add new pull request template for tool addition and technical develop… #606

Workflow file for this run

name: Build EVERSE Technology Radar
on:
workflow_dispatch: # allows triggering the workflow manually
pull_request:
push:
branches: ['main']
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
- uses: actions/cache@v4
with:
path: |
~/.npm
.techradar
key: ${{ runner.os }}-techradar-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- run: npm run build
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: build
path: build
deploy-pages:
needs: build
if: github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Download Artifact
uses: actions/download-artifact@v4
with:
name: build
path: build
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4