Skip to content

Update GitHub Action Versions (#220) #149

Update GitHub Action Versions (#220)

Update GitHub Action Versions (#220) #149

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: Setup Node.js environment
uses: actions/setup-node@v4.0.1
- name: Install Dependencies
run: npm i
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Tests
run: npm run test:ci
- name: Run Tests again
run: npm run test:ci
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3.1.4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Run Build
run: npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
branch: gh-pages
folder: dist
clean: false