File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,24 +13,28 @@ jobs:
1313 contents : read
1414 id-token : write
1515 steps :
16- - uses : actions/checkout@v4
16+ - uses : actions/checkout@v6
1717 with :
1818 fetch-depth : 0 # Get all history for version calculation
19- - uses : pnpm/action-setup@v4
20- - uses : actions/setup-node@v5
19+ - uses : pnpm/action-setup@v6
20+ - uses : actions/setup-node@v6
2121 with :
2222 node-version : lts/*
2323 registry-url : ' https://registry.npmjs.org'
2424 scope : ' @dnvgl'
2525 cache : ' pnpm'
26- - uses : gittools/actions/gitversion/setup@v0.9.7
26+ - uses : gittools/actions/gitversion/setup@v4.5.0
2727 with :
28- versionSpec : ' 5.x'
29- - uses : gittools/actions/gitversion/execute@v0.9.7
28+ versionSpec : ' 6.7.x'
29+ - uses : gittools/actions/gitversion/execute@v4.5.0
30+ id : gitversion
3031 with :
3132 useConfigFile : true
32- - run : pnpm version $GITVERSION_SEMVER --no-git-tag-version
33+ - run : pnpm version ${{ steps.gitversion.outputs.semVer }} --no-git-tag-version
3334 - run : pnpm install --frozen-lockfile
3435 - run : pnpm build
36+ - run : pnpm test -- --run
37+ - run : pnpm exec playwright install --with-deps chromium
38+ - run : pnpm e2e
3539 - if : github.event_name == 'push' && github.ref == 'refs/heads/main'
3640 run : pnpm publish --access public --no-git-checks
You can’t perform that action at this time.
0 commit comments