Skip to content

chore(deps): Bump ejs from 3.1.9 to 3.1.10 (#58) #75

chore(deps): Bump ejs from 3.1.9 to 3.1.10 (#58)

chore(deps): Bump ejs from 3.1.9 to 3.1.10 (#58) #75

Workflow file for this run

name: Build
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
env:
CI: true
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 16.13.2
cache: 'yarn'
- run: yarn --frozen-lockfile
- run: yarn test
deploy:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: build
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 16.13.2
cache: 'yarn'
- run: yarn --frozen-lockfile
- run: yarn build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4