Skip to content

skjuler innføring alertstripe (#963) #391

skjuler innføring alertstripe (#963)

skjuler innføring alertstripe (#963) #391

name: Cypress cache
on:
push:
branches:
- main
jobs:
cypress-cache:
name: Cypress cache
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.2.0
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'pnpm'
registry-url: 'https://npm.pkg.github.com'
- name: Cypress binary cache
uses: actions/cache@v4
id: cypress-cache
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install cypress binary
if: steps.cypress-cache.outputs.cache-hit != 'true'
run: pnpm install --frozen-lockfile && pnpm exec cypress install
env:
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }}