⬆️ Bump @amplitude/analytics-browser from 1.8.0 to 2.11.11 #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bygg og test pull request | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
buildAndTest: | |
name: "build and test" | |
runs-on: "ubuntu-latest" | |
permissions: | |
contents: "read" | |
id-token: "write" | |
packages: "write" | |
steps: | |
- uses: "actions/checkout@v4" | |
- uses: "actions/setup-node@v4" | |
with: | |
node-version: 22 | |
registry-url: "https://npm.pkg.github.com" | |
cache: "npm" | |
- name: "Install dependencies" | |
run: "npm ci" | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }} | |
- name: "Run tests" | |
run: "npm run test" | |
- name: "Build application" | |
run: "npm run build" |