Skip to content

Commit

Permalink
Update the workflows to modern versions of node
Browse files Browse the repository at this point in the history
  • Loading branch information
Minivera committed Sep 27, 2023
1 parent 5aa321a commit feb5ca5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 14
- run: npm ci
- run: npm install
- run: npm run build
- run: npm run lint
- run: npm run test
Expand All @@ -24,9 +24,9 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm install
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
Expand All @@ -38,9 +38,9 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
node-version: 18
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm install
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion .github/workflows/lint-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: npm ci
run: npm install
- name: Run eslint
run: npm run lint && npm run tsc
- name: Build with TypeScript
Expand Down

0 comments on commit feb5ca5

Please sign in to comment.