Skip to content

Merge pull request #355 from ossf/dependabot/github_actions/actions/c… #176

Merge pull request #355 from ossf/dependabot/github_actions/actions/c…

Merge pull request #355 from ossf/dependabot/github_actions/actions/c… #176

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@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
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@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
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