-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add strict tsconfig lint step #1224
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/pikapkg/snowpack/6k0ead6rs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving because I don’t want to block, but soft-recommendation to having lint
be its own job in GitHub actions (that only runs on one Node version, on Linux only). But as-is happy to merge this. Nice!
57de4ce
to
8ef469e
Compare
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ env.node_version }} | ||
uses: actions/setup-node@v2 | ||
with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can remove the with:
setting as we’re not using a matrix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, no we still need to tell it which version of Node to use, but you are right that this env value was missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It defaults to LTS, but if you wanted to specify you could just add:
with:
node-version: '12.x'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or what you did above! 🙂
Ah shoot… looks like |
ah boo |
Changes
Testing
Docs