File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 98
98
cache : ' pnpm'
99
99
cache-dependency-path : ' **/pnpm-lock.yaml'
100
100
- name : install
101
- run : pnpm install --frozen-lockfile --prefer-offline -- ignore-scripts
101
+ run : pnpm install --frozen-lockfile --ignore-scripts
102
102
- name : install playwright chromium
103
103
run : pnpm playwright install chromium
104
104
- name : run tests
Original file line number Diff line number Diff line change @@ -56,17 +56,17 @@ jobs:
56
56
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
57
57
- name : Create Release Pull Request or Publish to npm
58
58
id : changesets
59
- uses : changesets/action@v1
59
+ # pinned for security, always review third party action code before updating
60
+ uses : changesets/action@aba318e9165b45b7948c60273e0b72fce0a64eb9 # v1.4.7
60
61
with :
61
62
# This expects you to have a script called release which does a build for your packages and calls changeset publish
62
63
publish : pnpm release
63
64
env :
64
65
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
65
66
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
66
67
NPM_CONFIG_PROVENANCE : true
67
-
68
- # TODO alert discord
69
- # - name: Send a Slack notification if a publish happens
70
- # if: steps.changesets.outputs.published == 'true'
71
- # # You can do something when a publish happens.
72
- # run: my-slack-bot send-notification --message "A new version of ${GITHUB_REPOSITORY} was published!"
68
+ - name : Remove .npmrc
69
+ if : always()
70
+ run : |
71
+ echo "#deleted" > "$HOME/.npmrc"
72
+ rm -f "$HOME/.npmrc"
You can’t perform that action at this time.
0 commit comments