Skip to content

Commit

Permalink
Reverted changed GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwilbrink committed Nov 13, 2023
1 parent 85ae01f commit b3c707d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/save-pr-data-to-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ jobs:
save-pr-data:
name: Save PR data to file
runs-on: ubuntu-latest
<<<<<<< HEAD
if: ${{ github.event.pull_request.user.login != 'github-actions[bot]' }}
=======
if: ${{ (github.event.pull_request.base.repo.full_name != 'openscd/open-scd') && github.event.pull_request.user.login != 'github-actions[bot]' }}
>>>>>>> open-scd-core/main
steps:
- name: Save PR node_id and event_action to files
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
Expand All @@ -38,4 +34,4 @@ jobs:
name: REVIEW_DATA
path: |
PR_NODE_ID.txt
REVIEW_STATE.txt
REVIEW_STATE.txt
24 changes: 1 addition & 23 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
name: Test
<<<<<<< HEAD
on:
push:
branches-ignore:
- main
=======
on: push
>>>>>>> open-scd-core/main

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
<<<<<<< HEAD
uses: actions/[email protected]

- name: Use Node.js 18.x
Expand All @@ -25,21 +20,4 @@ jobs:
run: |
cd packages/open-scd
npm clean-install
npm run-script test
=======
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Install dependencies
run: npm ci

- name: Install playwright browsers
run: npx playwright install --with-deps

- name: Run tests
run: npm run-script test
>>>>>>> open-scd-core/main
npm run-script test

0 comments on commit b3c707d

Please sign in to comment.