Updates some CI packages to v3 and skips test if PR is merged

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2022-12-16 16:16:39 +01:00
parent d7f8156725
commit 65b37b7ef4
5 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -9,13 +9,14 @@ on:
jobs:
check-format:
if: github.event.pull_request.merged == false
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18.12.1"
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: npm ci
- run: ./scripts/check-format
shell: bash