commit 50ff8e25b34fc13257454e19bc28468bdea5e448
parent 911aea3293d07f1519220a3b0db4847221f3eb9a
Author: MTRNord <mtrnord1@gmail.com>
Date: Tue, 16 May 2023 17:54:12 +0200
Add names and permissions needed to CI
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/percy.yaml b/.github/workflows/percy.yaml
@@ -19,7 +19,8 @@ jobs:
with:
node-version: "18"
registry-url: https://npm.pkg.github.com/
- - run: |
+ - name: Install
+ run: |
export NODE_OPTIONS="--max_old_space_size=4096"
npm install
npm install concurrently http-server wait-on
@@ -27,7 +28,8 @@ jobs:
env:
# also other environment variable
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- - run: |
+ - name: Run percy
+ run: |
export NODE_OPTIONS="--max_old_space_size=4096"
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npm run storybook -- --debug --no-open" \
diff --git a/.github/workflows/storybook-tests.yml b/.github/workflows/storybook-tests.yml
@@ -4,6 +4,8 @@ on:
push:
jobs:
test:
+ permissions:
+ pull-requests: write
timeout-minutes: 60
runs-on: ubuntu-latest
steps: