Skip to content

Commit

Permalink
chore(ci): lock github actions on version
Browse files Browse the repository at this point in the history
Signed-off-by: 💻 Eher <[email protected]>
  • Loading branch information
EHER committed Oct 19, 2023
1 parent caa04bd commit 78d49f9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 15 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
name: Continous Integration
on: [push]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 19.x]

steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: actions/checkout@v4
- name: Node Setup
uses: actions/setup-node@v3
with:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/npm-audit-fix.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
name: npm audit fix

on:
schedule:
- cron: 0 0 * * * # Runs at 00:00 UTC every day

jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: actions/checkout@v4
- uses: ybiquitous/npm-audit-fix-action@v5
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@master
uses: actions/setup-node@v3
with:
node-version: 10.0.0
- name: Publish if version has been updated
uses: pascalgn/npm-publish-action@5994a39d5a3b75d0aad12f4527c1c1364a6bc977
uses: pascalgn/npm-publish-action@v1
with:
tag_name: "v%s"
tag_message: "v%s"
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/project.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
name: Project

on:
issues:
types:
- opened

pull_request:
types:
- opened

jobs:
build:
name: Add to project
runs-on: ubuntu-latest

steps:
- name: Add To GitHub projects
uses: actions/[email protected].0
uses: actions/[email protected]
with:
project-url: https://github.com/orgs/codelicia/projects/4
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
Expand Down

0 comments on commit 78d49f9

Please sign in to comment.