Skip to content

Merge pull request #381 from ossf/dependabot/github_actions/ossf/scor… #184

Merge pull request #381 from ossf/dependabot/github_actions/ossf/scor…

Merge pull request #381 from ossf/dependabot/github_actions/ossf/scor… #184

Workflow file for this run

name: deployment
on:
push:
branches:
- main
permissions:
contents: write
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: installing node@18
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: 20.9.0
- name: installing dependencies
run: npm ci
# - name: test
# run: npm run test
- name: build
run: npm run build
- name: Deploy in GitHub pages
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build