File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 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 :
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 :
Original file line number Diff line number Diff line change 11MIT License
22
3- Copyright (c) 2020 Evelyn Hathaway
3+ Copyright (c) Evelyn Hathaway
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
You can’t perform that action at this time.
0 commit comments