Skip to content

Commit 8244013

Browse files
Merge pull request #4 from evelynhathaway/update-github-actions
2 parents 025dade + 36735d0 commit 8244013

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/nodejs.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
# From: https://help.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows#example-using-the-cache-action
1818
- name: Cache node modules
19-
uses: actions/cache@v1
19+
uses: actions/cache@v2
2020
env:
2121
cache-name: cache-node-modules
2222
with:
@@ -26,17 +26,21 @@ jobs:
2626
${{ runner.os }}-build-${{ env.cache-name }}-
2727
${{ runner.os }}-build-
2828
${{ runner.os }}-
29+
2930
- name: Install Dependencies
3031
run: npm ci
32+
3133
- name: Lint
3234
run: npm run lint
35+
3336
- name: Test
3437
run: npm test
38+
3539
- name: Build
3640
run: npm run build
3741

3842
release:
39-
if: github.ref == 'refs/heads/master'
43+
if: github.ref == 'refs/heads/main'
4044
needs: testing
4145
runs-on: ubuntu-latest
4246
env:
@@ -50,7 +54,7 @@ jobs:
5054

5155
# From: https://help.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows#example-using-the-cache-action
5256
- name: Cache node modules
53-
uses: actions/cache@v1
57+
uses: actions/cache@v2
5458
env:
5559
cache-name: cache-node-modules
5660
with:

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Evelyn Hathaway
3+
Copyright (c) Evelyn Hathaway
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)