Skip to content

Commit

Permalink
Updated github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrydn committed Mar 3, 2023
1 parent 6dede3c commit 969d01e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v1
with:
node-version: 12.x
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.os }}-build-${{ github.repository }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-build-${{ github.repository }}-
node-version: 16.x
cache: npm

- run: npm ci
- run: npm run lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
SHOW_DEBUG: true
THROW_ERR: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: someimportantcompany/github-actions-slack-message@master
uses: ./
Expand Down

0 comments on commit 969d01e

Please sign in to comment.