Skip to content

Commit

Permalink
fix: Upgrade semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
essj committed Jul 5, 2023
1 parent bf7e419 commit 163370b
Show file tree
Hide file tree
Showing 3 changed files with 2,953 additions and 2,292 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
issues: write
pull-requests: write

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1.4.4
with:
node-version: 12.x
node-version: 18.x

- name: Dependencies
run: yarn install --frozen-lockfile
Expand All @@ -25,10 +30,11 @@ jobs:
yarn build
yarn build-storybook
- name: UI tests
run: yarn percy exec -- cypress run -e CI=true
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
# Temporarily removed.
# - name: UI tests
# run: yarn percy exec -- cypress run -e CI=true
# env:
# PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}

- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/alpha'
Expand All @@ -41,5 +47,5 @@ jobs:
- name: Deploy to NPM
run: yarn semantic-release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN_SEMANTIC_RELEASE }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"rimraf": "^3.0.2",
"rollup-plugin-string": "^3.0.0",
"rollup-plugin-visualizer": "^4.0.4",
"semantic-release": "^17.1.1",
"semantic-release": "^21.0.7",
"styled-components": "^5.3.0",
"svg-inline-loader": "^0.8.2",
"ts-loader": "^7.0.5",
Expand Down
Loading

0 comments on commit 163370b

Please sign in to comment.